From 3bdf7a693f7cbd49913ba796df3a07645d963339 Mon Sep 17 00:00:00 2001 From: Tobias Werth Date: Sat, 16 Nov 2024 16:35:18 +0100 Subject: [PATCH] Add quotes for some env vars. --- judge/compile.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/judge/compile.sh b/judge/compile.sh index 14d768b2ae..a664e2c085 100755 --- a/judge/compile.sh +++ b/judge/compile.sh @@ -139,10 +139,10 @@ logmsg $LOG_INFO "starting compile" # shellcheck disable=SC2236 if [ ! -z "$ENTRY_POINT" ]; then - ENVIRONMENT_VARS="-V ENTRY_POINT=$ENTRY_POINT" + ENVIRONMENT_VARS="-V ENTRY_POINT='$ENTRY_POINT'" fi if [ -n "$DEBUG" ]; then - ENVIRONMENT_VARS="$ENVIRONMENT_VARS -V DEBUG=$DEBUG" + ENVIRONMENT_VARS="$ENVIRONMENT_VARS -V DEBUG='$DEBUG'" fi # First compile to 'source' then rename to 'program' to avoid problems with