From 690ee8cf631b121e8238391e543d9de1600ed25f Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Mon, 25 Aug 2025 15:21:45 +0200 Subject: [PATCH] Correct space escaping in global_var.sh --- .templates/00-global_var.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.templates/00-global_var.sh b/.templates/00-global_var.sh index a4310e907..f2b38e29e 100755 --- a/.templates/00-global_var.sh +++ b/.templates/00-global_var.sh @@ -36,6 +36,8 @@ sanitize_variable() { return fi printf -v escaped '%q' "$raw" + # Do not espace spaces + escaped="${escaped//\\ / }" if [[ "$raw" == "$escaped" ]]; then printf '%s' "$raw" else