correction

This commit is contained in:
Alexandre
2021-11-19 10:49:42 +01:00
parent 7f3c0ebae3
commit 3c0a1bd9dd

View File

@@ -66,7 +66,7 @@ bashio::log.info "Starting the app with the variables in /config/gazpar2mqtt"
for word in $(parse_yaml "$CONFIGSOURCE" ""); do
# Data validation
if [[ $word =~ ^.+[=].+$ ]]; then
$word=${word//[\"\']/}
word=${word//[\"\']/}
export $word # Export the variable
bashio::log.blue "$word"
else