git.99rst.org
/
openwrt-luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
cfd8ad8
)
contrib/meshwizard: fix a bug that occured when processing list options in set_defaults()
author
Manuel Munz
<redacted>
Sat, 4 Jul 2015 23:32:25 +0000
(
01:32
+0200)
committer
Manuel Munz
<redacted>
Sat, 4 Jul 2015 23:32:25 +0000
(
01:32
+0200)
contrib/package/meshwizard/files/usr/bin/meshwizard/functions.sh
patch
|
blob
|
history
diff --git
a/contrib/package/meshwizard/files/usr/bin/meshwizard/functions.sh
b/contrib/package/meshwizard/files/usr/bin/meshwizard/functions.sh
index 8ace21853d3d1c615b8c5c4604cf056e42f5cbd9..b0f6cb291ea6b844f52f8bc0dfe5085ae787e5f5 100644
(file)
--- 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).
git clone https://git.99rst.org/PROJECT