aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2009-05-17 11:54:44 +0000
committerNicolas Thill <nico@openwrt.org>2009-05-17 11:54:44 +0000
commit512f8bd6dac14d6861b5823c520b0a75f7f48b6f (patch)
treef9e1ffc79a638b0a312f5504c438265150ee2a57 /package
parente798338d918f37697479992bd312154a5ef9df53 (diff)
downloadupstream-512f8bd6dac14d6861b5823c520b0a75f7f48b6f.tar.gz
upstream-512f8bd6dac14d6861b5823c520b0a75f7f48b6f.tar.bz2
upstream-512f8bd6dac14d6861b5823c520b0a75f7f48b6f.zip
[package] base-files: initialize GZIPED to 0 in sysupgrade since it's used later in numeric comparisons
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15890 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rwxr-xr-xpackage/base-files/files/sbin/sysupgrade4
1 files changed, 2 insertions, 2 deletions
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