Update 01-config_yaml.sh

This commit is contained in:
Alexandre
2025-07-07 17:30:48 +02:00
committed by GitHub
parent 443975cf00
commit 777ac4fdcc

View File

@@ -168,9 +168,9 @@ while IFS= read -r line; do
KEYS="${line%%=*}"
VALUE="${line#*=}"
# Check if VALUE is quoted
if [[ "$VALUE" != \"*\" ]] && [[ "$VALUE" != \'*\' ]]; then
VALUE="\"$VALUE\""
fi
#if [[ "$VALUE" != \"*\" ]] && [[ "$VALUE" != \'*\' ]]; then
# VALUE="\"$VALUE\""
#fi
line="${KEYS}=${VALUE}"
export "$line"
# export to python