From 35ebd61b8550f9471493a6df43d46e10d4f0f12f Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Sun, 26 Feb 2023 07:25:57 +0100 Subject: [PATCH] Correct script --- .templates/90-config_yaml.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.templates/90-config_yaml.sh b/.templates/90-config_yaml.sh index b15f8200b..58c958b86 100755 --- a/.templates/90-config_yaml.sh +++ b/.templates/90-config_yaml.sh @@ -112,6 +112,9 @@ while IFS= read -r line; do # Data validation if [[ "$line" =~ ^.+[=].+$ ]]; then export "$line" + # extract keys and values + KEYS="${line%=*}" + VALUE="${line#*=}" # export to python if command -v "python3" &>/dev/null; then [ ! -f /env.py ] && echo "import os" > /env.py