From: Ville Skyttä Date: Sun, 20 May 2012 21:35:19 +0000 (+0300) Subject: Fix syntax error when PCI_COMPRESSED_IDS is empty. X-Git-Tag: v3.1.10~5 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=4339115006b225c8e33b7427cf5dba6b3831a625;p=pciutils.git Fix syntax error when PCI_COMPRESSED_IDS is empty. --- diff --git a/update-pciids.sh b/update-pciids.sh index b89aaea..ab68d12 100755 --- a/update-pciids.sh +++ b/update-pciids.sh @@ -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