[arch-projects] [mkinitcpio][PATCH 4/4] install/pcmcia: fix syntax error (missing &&)

Dave Reisner d at falconindy.com
Sun Oct 16 11:53:35 EDT 2011


Fixes FS#26427.

Signed-off-by: Dave Reisner <dreisner at archlinux.org>
---
 install/pcmcia |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/install/pcmcia b/install/pcmcia
index 2e9ac9a..f51ed6e 100644
--- a/install/pcmcia
+++ b/install/pcmcia
@@ -4,7 +4,7 @@ build() {
     FILES="/etc/pcmcia/config.opts"
     MODULES=" $(checked_modules '/drivers/pcmcia/' | grep -ve 'sound' -e 'net') $(checked_modules '/ide/legacy')"
 
-    [[ $MODULES ]] MODULES+=" sd_mod?"
+    [[ $MODULES ]] && MODULES+=" sd_mod?"
 
     add_binary "/lib/udev/pcmcia-socket-startup"
     add_binary "/lib/udev/pcmcia-check-broken-cis"
-- 
1.7.7



More information about the arch-projects mailing list