projects
/
oweals
/
libubox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a32939
)
jshn: do not export SEQ_*
author
Felix Fietkau
<nbd@openwrt.org>
Wed, 30 Oct 2013 09:55:01 +0000
(10:55 +0100)
committer
Felix Fietkau
<nbd@openwrt.org>
Wed, 30 Oct 2013 09:58:34 +0000
(10:58 +0100)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
sh/jshn.sh
patch
|
blob
|
history
diff --git
a/sh/jshn.sh
b/sh/jshn.sh
index 3aff5ea92adebd0249bc99056671e550ce0ac7d7..93fbec231c871dc5e69d7751c649f91b45a95422 100644
(file)
--- a/
sh/jshn.sh
+++ b/
sh/jshn.sh
@@
-103,7
+103,7
@@
_json_add_table() {
local table="JSON_$itype$seq"
_json_set_var "UP_$table" "$cur"
_json_export "KEYS_$table" ""
- [ "$itype" = "ARRAY" ] && _json_
export
"SEQ_$table" ""
+ [ "$itype" = "ARRAY" ] && _json_
set_var
"SEQ_$table" ""
_json_set_var JSON_CUR "$table"
_jshn_append "JSON_UNSET" "$table"