From 4339115006b225c8e33b7427cf5dba6b3831a625 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Ville=20Skytt=C3=A4?= Date: Mon, 21 May 2012 00:35:19 +0300 Subject: [PATCH] Fix syntax error when PCI_COMPRESSED_IDS is empty. --- update-pciids.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.2