From 5b0cf9ddcac485ff49f39196c07552b230134312 Mon Sep 17 00:00:00 2001 From: acinonyx Date: Wed, 3 Jun 2009 18:15:04 +0000 Subject: [package] base-files: fix test experession for sysupgrade git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16310 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/base-files/files/lib/upgrade/common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package') diff --git a/package/base-files/files/lib/upgrade/common.sh b/package/base-files/files/lib/upgrade/common.sh index 9ba9e23e7..2750018e2 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";; -- cgit v1.2.3