diff options
author | Aaron Griffin <aaron@archlinux.org> | 2007-08-11 23:14:53 +0200 |
---|---|---|
committer | Aaron Griffin <aaron@archlinux.org> | 2007-08-11 23:14:53 +0200 |
commit | 8a47fa9512eb355e8f7cbe4b4e7d28373e706a6c (patch) | |
tree | 704564ae3794ae021b112d701bfa24f00577dddd /install/pcmcia | |
parent | 2b466a50d4e28f1d30df8eedfcd0bfcd565515d2 (diff) | |
download | mkinitcpio-8a47fa9512eb355e8f7cbe4b4e7d28373e706a6c.tar.gz mkinitcpio-8a47fa9512eb355e8f7cbe4b4e7d28373e706a6c.tar.xz |
Coding style change, use -n and -z for variable tests
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
git-svn-id: http://projects.archlinux.org/svn/initramfs/mkinitcpio@209 880c04e9-e011-0410-abf7-b926e227c9cd
Diffstat (limited to 'install/pcmcia')
-rw-r--r-- | install/pcmcia | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/install/pcmcia b/install/pcmcia index b5ca7fb..944e2f6 100644 --- a/install/pcmcia +++ b/install/pcmcia @@ -4,7 +4,7 @@ install () { MODULES=" $(checked_modules '/pcmcia/' | grep -ve 'sound' -e 'net') $(checked_modules '/ide/legacy')" MODULES=$(echo ${MODULES}) #trim whitespace - if [ "x${MODULES}" != "x" ]; then + if [ -n "${MODULES}" ]; then MODULES="${MODULES} sd_mod sr_mod ide-disk ide-cd" fi BINARIES="/sbin/pcmcia-socket-startup.static /sbin/pcmcia-check-broken-cis.static" |