aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/files/lib/upgrade/common.sh
diff options
context:
space:
mode:
authorVasilis Tsiligiannis <acinonyx@openwrt.gr>2009-06-03 18:15:04 +0000
committerVasilis Tsiligiannis <acinonyx@openwrt.gr>2009-06-03 18:15:04 +0000
commit5b72dc3d8fa5afce137474ff7ddeba4be6cad10e (patch)
treed055c8524ce0a8624b0a6033d993550861a501d3 /package/base-files/files/lib/upgrade/common.sh
parent66f8e1122e44902fd9a9badf90b981072d198663 (diff)
downloadupstream-5b72dc3d8fa5afce137474ff7ddeba4be6cad10e.tar.gz
upstream-5b72dc3d8fa5afce137474ff7ddeba4be6cad10e.tar.bz2
upstream-5b72dc3d8fa5afce137474ff7ddeba4be6cad10e.zip
base-files: fix test experession for sysupgrade
SVN-Revision: 16310
Diffstat (limited to 'package/base-files/files/lib/upgrade/common.sh')
-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";;