Update 00-global_var.sh

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

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"