mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-16 04:19:13 +02:00
Update 01-config_yaml.sh
https://github.com/alexbelgium/hassio-addons/issues/1933#issuecomment-3031943775
This commit is contained in:
@@ -182,7 +182,7 @@ while IFS= read -r line; do
|
|||||||
VALUE="${line#*=}"
|
VALUE="${line#*=}"
|
||||||
if [[ "$VALUE" == \"*\"*\" ]]; then
|
if [[ "$VALUE" == \"*\"*\" ]]; then
|
||||||
VALUE="${VALUE:1:-1}"
|
VALUE="${VALUE:1:-1}"
|
||||||
VALUE="'$VALUE'"
|
VALUE="\"$VALUE\""
|
||||||
fi
|
fi
|
||||||
export "${KEYS}=${VALUE}"
|
export "${KEYS}=${VALUE}"
|
||||||
# export to python
|
# export to python
|
||||||
|
|||||||
Reference in New Issue
Block a user