jshn: do not export JSON_SEQ
authorFelix Fietkau <nbd@openwrt.org>
Sun, 23 Nov 2014 18:44:10 +0000 (19:44 +0100)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 23 Nov 2014 18:44:10 +0000 (19:44 +0100)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
sh/jshn.sh

index 78414f07b4898d4d7a793df5ea3e5acd17590aa7..fbffe85dd7ea9db2b60d699b4b9bb6609c10a060 100644 (file)
@@ -125,8 +125,8 @@ json_cleanup() {
 
 json_init() {
        json_cleanup
+       export -n ${JSON_PREFIX}JSON_SEQ=0
        export -- \
-               ${JSON_PREFIX}JSON_SEQ=0 \
                ${JSON_PREFIX}JSON_CUR="JSON_VAR" \
                ${JSON_PREFIX}KEYS_JSON_VAR= \
                ${JSON_PREFIX}TYPE_JSON_VAR=