diff options
author | Manuel Munz <munz@comuno.net> | 2015-07-05 01:32:25 +0200 |
---|---|---|
committer | Manuel Munz <munz@comuno.net> | 2015-07-05 01:32:25 +0200 |
commit | 9d85b7ee2e386946612227092ea56b34da08741c (patch) | |
tree | b7b88cddcb32f87f496b5ffdc13c5183e1682f24 /contrib | |
parent | cfd8ad89c4afb46b6dab2529341c49fd7c091e22 (diff) |
contrib/meshwizard: fix a bug that occured when processing list options in set_defaults()
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/package/meshwizard/files/usr/bin/meshwizard/functions.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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). |