fix: drop temp variable
This commit is contained in:
parent
f3f6f8d9b0
commit
b186f6a856
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue