[package] base-files: fix test experession for sysupgrade
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16310 3c298f89-4303-0410-b956-a3cf2f4a3e73master
parent
d9da12c6ad
commit
c5a5c25d0f
|
@ -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";;
|
||||
|
|
Loading…
Reference in New Issue