From 9c51fb4b605b4d91060d2775f19a5f9849016593 Mon Sep 17 00:00:00 2001 From: tom goriunov Date: Mon, 16 Oct 2023 11:15:39 -0300 Subject: [PATCH] double quotes in NEXT_PUBLIC_MAINTENANCE_ALERT_MESSAGE cause an error (#1285) Fixes #1276 --- deploy/scripts/make_envs_script.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/deploy/scripts/make_envs_script.sh b/deploy/scripts/make_envs_script.sh index da1938d84a..1124a1a77c 100755 --- a/deploy/scripts/make_envs_script.sh +++ b/deploy/scripts/make_envs_script.sh @@ -21,6 +21,9 @@ for var in $(env | grep '^NEXT_PUBLIC_' | cut -d= -f1); do # Get the value of the variable value="${!var}" + # Replace double quotes with single quotes + value="${value//\"/\'}" + # Write the variable name and value to the output file echo "${var}: \"${value}\"," >> "$output_file" done