summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoracinonyx <acinonyx@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-06-03 18:15:04 +0000
committeracinonyx <acinonyx@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-06-03 18:15:04 +0000
commit5b0cf9ddcac485ff49f39196c07552b230134312 (patch)
treef4becb2284cfbb769689d68e4025a896c0197215
parent231bfe4d8a09503fe1d68c223e2b86345d2ea5e8 (diff)
[package] base-files: fix test experession for sysupgrade
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16310 3c298f89-4303-0410-b956-a3cf2f4a3e73
-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";;