From 5b72dc3d8fa5afce137474ff7ddeba4be6cad10e Mon Sep 17 00:00:00 2001 From: Vasilis Tsiligiannis Date: Wed, 3 Jun 2009 18:15:04 +0000 Subject: [PATCH] base-files: fix test experession for sysupgrade SVN-Revision: 16310 --- package/base-files/files/lib/upgrade/common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/base-files/files/lib/upgrade/common.sh b/package/base-files/files/lib/upgrade/common.sh index 9ba9e23e7e..2750018e2b 100644 --- a/package/base-files/files/lib/upgrade/common.sh +++ b/package/base-files/files/lib/upgrade/common.sh @@ -107,7 +107,7 @@ get_image() { local from="$1" local conc="cat" - [ $GZIPED -eq 1 ] && conc="zcat" + [ "$GZIPED" -eq 1 ] && conc="zcat" case "$from" in http://*|ftp://*) wget -O- -q "$from" | "$conc";; -- 2.30.2