From 42a08251a09c68845149af44a239d993ec12e60f Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Thu, 3 Jul 2025 10:51:11 +0200 Subject: [PATCH] Update 01-config_yaml.sh --- .templates/01-config_yaml.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.templates/01-config_yaml.sh b/.templates/01-config_yaml.sh index 4227c0b3e..a226a16cc 100644 --- a/.templates/01-config_yaml.sh +++ b/.templates/01-config_yaml.sh @@ -180,8 +180,8 @@ while IFS= read -r line; do # extract keys and values KEYS="${line%%=*}" VALUE="${line#*=}" - if [[ "$VALUE" == *\"* ]]; then - [[ "$VALUE" == \"*\" ]] && VALUE="${VALUE:1:-1}" + if [[ "$VALUE" == \"*\"*\" ]]; then + VALUE="${VALUE:1:-1}" VALUE="'$VALUE'" fi export "${KEYS}=${VALUE}"