Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.openwrt.org/project/libubox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/sh
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-10-30 13:55:01 +0400
committerFelix Fietkau <nbd@openwrt.org>2013-10-30 13:58:34 +0400
commit2d4ce122c4b515ef9f116952151f3a6986b6c957 (patch)
tree8907a8585cdae0e1f2d4b4c34a48336cbb868453 /sh
parent1a32939cb5ad3fabed9d78c030e2746cdbbdc038 (diff)
jshn: do not export SEQ_*
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Diffstat (limited to 'sh')
-rw-r--r--sh/jshn.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/sh/jshn.sh b/sh/jshn.sh
index 3aff5ea..93fbec2 100644
--- 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"