Skip to content

Commit

Permalink
fix: drop temp variable
Browse files Browse the repository at this point in the history
  • Loading branch information
calexiou committed Aug 8, 2024
1 parent f3f6f8d commit b186f6a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions hosting/single/runner.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,7 @@ fi
# randomise any unset environment variables
for ENV_VAR in "${ENV_VARS[@]}"
do
temp=$(eval "echo \$$ENV_VAR")
if [[ -z "${temp}" ]]; then
if [[ -z "${!ENV_VAR}" ]]; then
eval "export $ENV_VAR=$(uuidgen | sed -e 's/-//g')"
fi
done
Expand Down

0 comments on commit b186f6a

Please sign in to comment.