From: Nicolas Thill Date: Sun, 17 May 2009 11:54:44 +0000 (+0000) Subject: base-files: initialize GZIPED to 0 in sysupgrade since it's used later in numeric... X-Git-Tag: reboot~23539 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=06413b783e65e70096561ad52d5a1750677b4f91;p=openwrt%2Fstaging%2Fxback.git base-files: initialize GZIPED to 0 in sysupgrade since it's used later in numeric comparisons SVN-Revision: 15890 --- diff --git a/package/base-files/files/sbin/sysupgrade b/package/base-files/files/sbin/sysupgrade index 139135e8f7..ecc5e9a708 100755 --- a/package/base-files/files/sbin/sysupgrade +++ b/package/base-files/files/sbin/sysupgrade @@ -9,7 +9,7 @@ export VERBOSE=1 export SAVE_CONFIG=1 export DELAY= export CONF_IMAGE= -export GZIPED= +export GZIPED=0 # parse options while [ -n "$1" ]; do case "$1" in @@ -114,4 +114,4 @@ if [ -n "$(rootfs_type)" ]; then run_ramfs '. /etc/functions.sh; include /lib/upgrade; do_upgrade' else do_upgrade -fi \ No newline at end of file +fi