diff --git a/.templates/00-global_var.sh b/.templates/00-global_var.sh index 4301cdf00..0f17b919a 100644 --- a/.templates/00-global_var.sh +++ b/.templates/00-global_var.sh @@ -37,7 +37,7 @@ sanitize_variable() { return fi printf -v escaped '%q' "$raw" - escaped="${escaped//\\ } }" + escaped="${escaped//\\ /} }" # If nothing changed, return the original. if [[ "$raw" == "$escaped" ]]; then printf '%s' "$raw"