summaryrefslogtreecommitdiffhomepage
path: root/contrib/package/meshwizard/files
diff options
context:
space:
mode:
authorManuel Munz <munz@comuno.net>2015-07-05 01:32:25 +0200
committerManuel Munz <munz@comuno.net>2015-07-05 01:32:25 +0200
commit9d85b7ee2e386946612227092ea56b34da08741c (patch)
treeb7b88cddcb32f87f496b5ffdc13c5183e1682f24 /contrib/package/meshwizard/files
parentcfd8ad89c4afb46b6dab2529341c49fd7c091e22 (diff)
contrib/meshwizard: fix a bug that occured when processing list options in set_defaults()
Diffstat (limited to 'contrib/package/meshwizard/files')
-rw-r--r--contrib/package/meshwizard/files/usr/bin/meshwizard/functions.sh2
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 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).