contrib/meshwizard: fix a bug that occured when processing list options in set_defaults()
This commit is contained in:
parent
cfd8ad89c4
commit
9d85b7ee2e
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ set_defaults() {
|
||||||
a="$(echo $option |cut -d '=' -f1)"
|
a="$(echo $option |cut -d '=' -f1)"
|
||||||
b="$(echo $option |cut -d '=' -f2-)"
|
b="$(echo $option |cut -d '=' -f2-)"
|
||||||
b="${b//_/ }"
|
b="${b//_/ }"
|
||||||
string_contains "$a" "_LENGTH" && return
|
string_contains "$a" "_LENGTH" && continue
|
||||||
string_contains "$a" "_ITEM" && {
|
string_contains "$a" "_ITEM" && {
|
||||||
# special threatment for lists. use add_list and remove the
|
# special threatment for lists. use add_list and remove the
|
||||||
# item index (_ITEMx).
|
# item index (_ITEMx).
|
||||||
|
|
Loading…
Reference in a new issue