From 8a9997a5dee015d859fe7191098500be36a1339d Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Fri, 14 Jan 2022 21:46:49 +0100 Subject: [PATCH] Update 00-global_var.sh --- zzz_templates/00-global_var.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zzz_templates/00-global_var.sh b/zzz_templates/00-global_var.sh index 4c3340229..5a47bacdf 100644 --- a/zzz_templates/00-global_var.sh +++ b/zzz_templates/00-global_var.sh @@ -10,7 +10,7 @@ JSONSOURCE="/data/options.json" # Export keys as env variables # echo "All addon options were exported as variables" mapfile -t arr < <(jq -r 'keys[]' ${JSONSOURCE}) -for KEYS in "${arr[@]}"; do +for KEYS in ${arr[@]}; do # export key VALUE=$(jq ."$KEYS" ${JSONSOURCE}) line="${KEYS}=${VALUE//[\"\']/}"