From eb001ef8978011248dd62be6eb5452cb6b752a78 Mon Sep 17 00:00:00 2001 From: Manuel Munz Date: Sun, 5 Jul 2015 01:32:25 +0200 Subject: [PATCH] contrib/meshwizard: fix a bug that occured when processing list options in set_defaults() --- .../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 8ace21853..b0f6cb291 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). -- 2.25.1