This commit is contained in:
Alexandre
2021-12-07 15:58:25 +01:00
parent 1fa715e70a
commit 2fbe64e1ad
3 changed files with 3 additions and 3 deletions

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"