Skip to content

Commit

Permalink
Add quotes for some env vars.
Browse files Browse the repository at this point in the history
  • Loading branch information
meisterT committed Nov 16, 2024
1 parent cd74bb3 commit 236aa3e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions judge/compile.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 236aa3e

Please sign in to comment.