From 9d85b7ee2e386946612227092ea56b34da08741c Mon Sep 17 00:00:00 2001 From: Manuel Munz Date: Sun, 5 Jul 2015 01:32:25 +0200 Subject: contrib/meshwizard: fix a bug that occured when processing list options in set_defaults() --- contrib/package/meshwizard/files/usr/bin/meshwizard/functions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/package/meshwizard/files/usr/bin/meshwizard/functions.sh b/contrib/package/meshwizard/files/usr/bin/meshwizard/functions.sh index 8ace21853d..b0f6cb291e 100644 --- a/contrib/package/meshwizard/files/usr/bin/meshwizard/functions.sh +++ b/contrib/package/meshwizard/files/usr/bin/meshwizard/functions.sh @@ -44,7 +44,7 @@ set_defaults() { a="$(echo $option |cut -d '=' -f1)" b="$(echo $option |cut -d '=' -f2-)" b="${b//_/ }" - string_contains "$a" "_LENGTH" && return + string_contains "$a" "_LENGTH" && continue string_contains "$a" "_ITEM" && { # special threatment for lists. use add_list and remove the # item index (_ITEMx). -- cgit v1.2.3