diff options
author | Felix Fietkau <nbd@openwrt.org> | 2007-06-15 15:59:56 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2007-06-15 15:59:56 +0000 |
commit | 040caceff305b7d30e4de03f1307562b6cd058fc (patch) | |
tree | 4896183e0a0c36395912d5e066209687bdce472b /package/base-files/files/lib | |
parent | 270d6c63c11c57817bb4c8f161373f0880b57933 (diff) | |
download | upstream-040caceff305b7d30e4de03f1307562b6cd058fc.tar.gz upstream-040caceff305b7d30e4de03f1307562b6cd058fc.tar.bz2 upstream-040caceff305b7d30e4de03f1307562b6cd058fc.zip |
some shell variable handling fixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7638 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/base-files/files/lib')
-rw-r--r-- | package/base-files/files/lib/config/uci.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/base-files/files/lib/config/uci.sh b/package/base-files/files/lib/config/uci.sh index da6ecab51c..a539388359 100644 --- a/package/base-files/files/lib/config/uci.sh +++ b/package/base-files/files/lib/config/uci.sh @@ -90,7 +90,7 @@ uci_set() { ( # spawn a subshell so you don't mess up the current environment uci_load "$PACKAGE" config_get OLDVAL "$CONFIG" "$OPTION" - if [ "$OLDVAL" != "$VALUE" ]; then + if [ "x$OLDVAL" != "x$VALUE" ]; then config_get type "$CONFIG" TYPE [ -z "$type" ] fi |