Update 00-global_var.sh

This commit is contained in:
Alexandre
2021-12-19 19:33:30 +01:00
committed by GitHub
parent ece00215f5
commit b0a5a471fc

View File

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