From 8a47fa9512eb355e8f7cbe4b4e7d28373e706a6c Mon Sep 17 00:00:00 2001 From: Aaron Griffin Date: Sat, 11 Aug 2007 21:14:53 +0000 Subject: Coding style change, use -n and -z for variable tests Signed-off-by: Aaron Griffin git-svn-id: http://projects.archlinux.org/svn/initramfs/mkinitcpio@209 880c04e9-e011-0410-abf7-b926e227c9cd --- install/usbinput | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'install/usbinput') diff --git a/install/usbinput b/install/usbinput index 3a7196b..d2012b6 100644 --- a/install/usbinput +++ b/install/usbinput @@ -5,7 +5,7 @@ install () MODULES=" $(checked_modules "/usb/host" | grep -ve "_cs" -e "sl1811-hcd" -e "isp116x-hcd") " MODULES=$(echo ${MODULES}) #trim whitespace - if [ "x${MODULES}" != "x" ]; then + if [ -n "${MODULES}" ]; then MODULES="${MODULES} usbhid" fi BINARIES="" -- cgit v1.2.3-24-g4f1b