Author: shadzik
Date: Fri Oct 22 15:41:53 2010
New Revision: 11879

Modified:
   geninitrd/trunk/mod-sata.sh
Log:
- 15:36 < arekm> bs: ! -z == -n


Modified: geninitrd/trunk/mod-sata.sh
==============================================================================
--- geninitrd/trunk/mod-sata.sh (original)
+++ geninitrd/trunk/mod-sata.sh Fri Oct 22 15:41:53 2010
@@ -19,7 +19,7 @@
        local module
        local vendordev
        vendordev=$(lspci -n -p /lib/modules/$kernel/modules.pcimap |awk 
'/0106/{ gsub(/:/," "); print "0x0000"$4 " " "0x0000"$5}')
-       if [ ! -z $vendordev ]; then
+       if [ -n $vendordev ]; then
                module=$(grep "$vendordev" /lib/modules/$kernel/modules.pcimap 
|awk '{print $1}')
                find_module "$module"
        fi
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to