[package] base-files: fix test experession for sysupgrade
authoracinonyx <acinonyx@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 3 Jun 2009 18:15:04 +0000 (18:15 +0000)
committeracinonyx <acinonyx@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 3 Jun 2009 18:15:04 +0000 (18:15 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16310 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/base-files/files/lib/upgrade/common.sh

index 9ba9e23..2750018 100644 (file)
@@ -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";;
This page took 0.02527 seconds and 4 git commands to generate.