From dc98b646744a8983e57d926a863777a322ebe2ba Mon Sep 17 00:00:00 2001 From: nbd Date: Fri, 15 Jun 2007 15:59:56 +0000 Subject: some shell variable handling fixes git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7638 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/base-files/files/lib/config/uci.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package/base-files/files/lib') 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 -- cgit v1.2.3