]> git.ipfire.org Git - thirdparty/pciutils.git/commitdiff
Fix syntax error when PCI_COMPRESSED_IDS is empty.
authorVille Skyttä <ville.skytta@iki.fi>
Sun, 20 May 2012 21:35:19 +0000 (00:35 +0300)
committerMartin Mares <mj@ucw.cz>
Mon, 28 May 2012 13:32:34 +0000 (15:32 +0200)
update-pciids.sh

index b89aaea26e6f20db70a7236e89570f0401b28a28..ab68d1226c9f0b468c058b31de456a6ed502fb57 100755 (executable)
@@ -15,7 +15,7 @@ if ! touch ${DEST} >/dev/null 2>&1 ; then
        exit 1
 fi
 
-if [ "$PCI_COMPRESSED_IDS" -eq 1 ] ; then
+if [ "$PCI_COMPRESSED_IDS" = 1 ] ; then
        DECOMP="cat"
        SRC="$SRC.gz"
        GREP=zgrep