projects
/
openwrt
/
svn-archive
/
archive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[package] base-files: fix test experession for sysupgrade
[openwrt/svn-archive/archive.git]
/
package
/
base-files
/
files
/
lib
/
upgrade
/
common.sh
diff --git
a/package/base-files/files/lib/upgrade/common.sh
b/package/base-files/files/lib/upgrade/common.sh
index 9ba9e23e7e8067264df31c7f1f553a5c28d61156..2750018e2b03b662fb6004715e7ad3cba41a0a1f 100644
(file)
--- 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";;