aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorVasilis Tsiligiannis <b_tsiligiannis@silverton.gr>2009-06-03 18:15:04 +0000
committerVasilis Tsiligiannis <b_tsiligiannis@silverton.gr>2009-06-03 18:15:04 +0000
commitc5a5c25d0f4fe43b8443f2001d18f0d4e7193842 (patch)
treef4becb2284cfbb769689d68e4025a896c0197215 /package
parentd9da12c6adedd5470c1972026d18abc99d40251a (diff)
downloadupstream-c5a5c25d0f4fe43b8443f2001d18f0d4e7193842.tar.gz
upstream-c5a5c25d0f4fe43b8443f2001d18f0d4e7193842.tar.bz2
upstream-c5a5c25d0f4fe43b8443f2001d18f0d4e7193842.zip
[package] base-files: fix test experession for sysupgrade
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16310 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rw-r--r--package/base-files/files/lib/upgrade/common.sh2
1 files changed, 1 insertions, 1 deletions
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";;