mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-10 09:51:02 +01:00
GitHub bot: fix linting issues (nobuild)
This commit is contained in:
@@ -181,8 +181,8 @@ while IFS= read -r line; do
|
||||
KEYS="${line%%=*}"
|
||||
VALUE="${line#*=}"
|
||||
if [[ "$VALUE" == *\"* ]]; then
|
||||
[[ "$VALUE" == \"*\" ]] && VALUE="${VALUE:1:-1}"
|
||||
VALUE="'$VALUE'"
|
||||
[[ "$VALUE" == \"*\" ]] && VALUE="${VALUE:1:-1}"
|
||||
VALUE="'$VALUE'"
|
||||
fi
|
||||
export "${KEYS}=${VALUE}"
|
||||
# export to python
|
||||
|
||||
Reference in New Issue
Block a user