From: Vasilis Tsiligiannis Date: Wed, 3 Jun 2009 18:15:04 +0000 (+0000) Subject: base-files: fix test experession for sysupgrade X-Git-Tag: reboot~23291 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=5b72dc3d8fa5afce137474ff7ddeba4be6cad10e;p=openwrt%2Fstaging%2Fpepe2k.git base-files: fix test experession for sysupgrade SVN-Revision: 16310 --- 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";;