Skip to content

Commit 3bdf7a6

Browse files
committed
Add quotes for some env vars.
1 parent cd74bb3 commit 3bdf7a6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

judge/compile.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,10 +139,10 @@ logmsg $LOG_INFO "starting compile"
139139

140140
# shellcheck disable=SC2236
141141
if [ ! -z "$ENTRY_POINT" ]; then
142-
ENVIRONMENT_VARS="-V ENTRY_POINT=$ENTRY_POINT"
142+
ENVIRONMENT_VARS="-V ENTRY_POINT='$ENTRY_POINT'"
143143
fi
144144
if [ -n "$DEBUG" ]; then
145-
ENVIRONMENT_VARS="$ENVIRONMENT_VARS -V DEBUG=$DEBUG"
145+
ENVIRONMENT_VARS="$ENVIRONMENT_VARS -V DEBUG='$DEBUG'"
146146
fi
147147

148148
# First compile to 'source' then rename to 'program' to avoid problems with

0 commit comments

Comments
 (0)