]> mj.ucw.cz Git - pciutils.git/blobdiff - update-pciids.sh
compat/getopt.c: Fixed a typo in declaration of getopt_long()
[pciutils.git] / update-pciids.sh
index feef7498148209f2e6d01948cd9ddaf54ac2de05..5e771090ac001fb92b816d5d00eacdab6b83d524 100755 (executable)
@@ -15,7 +15,7 @@ if ! touch ${DEST} >/dev/null 2>&1 ; then
        exit 1
 fi
 
-if [ -n "$PCI_COMPRESSED_IDS" ] ; then
+if [ "$PCI_COMPRESSED_IDS" -eq 1 ] ; then
        DECOMP="cat"
        SRC="$SRC.gz"
        GREP=zgrep