aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/files/lib
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-06-15 15:59:56 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-06-15 15:59:56 +0000
commit5e6f8739be1b3de38ed7ad1c7dc80bc1f4c4bf31 (patch)
tree1b28564d52de256eaa333cac8c7a6b30ab3cd601 /package/base-files/files/lib
parent74f84753e7b102d938c0b291769086633c01544d (diff)
downloadupstream-5e6f8739be1b3de38ed7ad1c7dc80bc1f4c4bf31.tar.gz
upstream-5e6f8739be1b3de38ed7ad1c7dc80bc1f4c4bf31.tar.bz2
upstream-5e6f8739be1b3de38ed7ad1c7dc80bc1f4c4bf31.zip
some shell variable handling fixes
SVN-Revision: 7638
Diffstat (limited to 'package/base-files/files/lib')
-rw-r--r--package/base-files/files/lib/config/uci.sh2
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