mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-31 12:54:04 +02:00
GitHub bot: fix linting issues (nobuild)
This commit is contained in:
@@ -181,8 +181,8 @@ while IFS= read -r line; do
|
|||||||
KEYS="${line%%=*}"
|
KEYS="${line%%=*}"
|
||||||
VALUE="${line#*=}"
|
VALUE="${line#*=}"
|
||||||
if [[ "$VALUE" == *\"* ]]; then
|
if [[ "$VALUE" == *\"* ]]; then
|
||||||
[[ "$VALUE" == \"*\" ]] && VALUE="${VALUE:1:-1}"
|
[[ "$VALUE" == \"*\" ]] && 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