From 3d345c666fe30ae2d65bc6ecddabbba8aaea83d1 Mon Sep 17 00:00:00 2001 From: Sebastian Thomschke Date: Mon, 24 Jul 2023 07:32:36 +0200 Subject: [PATCH] Fix string interpolation #22 --- image/run_runner.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/image/run_runner.sh b/image/run_runner.sh index a938979..a83e7c6 100644 --- a/image/run_runner.sh +++ b/image/run_runner.sh @@ -49,6 +49,7 @@ if [[ ${GITEA_RUNNER_LOG_EFFECTIVE_CONFIG:-false} == "true" ]]; then else while IFS= read -r line; do line=${line//\"/\\\"} # escape double quotes + line=${line//\`/\\\`} # escape backticks eval "echo \"$line\"" >> "$effective_config_file" done < $GITEA_RUNNER_CONFIG_TEMPLATE_FILE fi