From 3154ffa3b7ba296662b0d54579df22bb88a2ff7d Mon Sep 17 00:00:00 2001 From: Manuel Munz Date: Wed, 19 Sep 2012 06:28:58 +0000 Subject: contrib/meshwizard: allow to parse values which contain '=' --- contrib/package/meshwizard/files/usr/bin/meshwizard/functions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'contrib/package') diff --git a/contrib/package/meshwizard/files/usr/bin/meshwizard/functions.sh b/contrib/package/meshwizard/files/usr/bin/meshwizard/functions.sh index c9f7ee7fd..8abdf9f0e 100644 --- a/contrib/package/meshwizard/files/usr/bin/meshwizard/functions.sh +++ b/contrib/package/meshwizard/files/usr/bin/meshwizard/functions.sh @@ -27,7 +27,7 @@ set_defaults() { for def in $(env |grep "^$1" | sed 's/ /_/g'); do option="${def/$1/}" a="$(echo $option |cut -d '=' -f1)" - b="$(echo $option |cut -d '=' -f2)" + b="$(echo $option |cut -d '=' -f2-)" b="${b//_/ }" uci set $2.$a="$b" done -- cgit v1.2.3