Update 00-global_var.sh

This commit is contained in:
Alexandre
2021-12-07 18:59:36 +01:00
committed by GitHub
parent ee2fbc8e64
commit 197ac415a5

View File

@@ -15,7 +15,7 @@ for KEYS in ${arr[@]}; do
VALUE=$(jq .$KEYS ${JSONSOURCE})
line="${KEYS}=${VALUE//[\"\']/}"
# Use locally
bashio::log.blue "$line" 2>/dev/null || echo "$line"
bashio::log.blue "$line"
export $line
# Export the variable to run scripts
line="${KEYS}=${VALUE//[\"\']/} &>/dev/null"