Skip to content

Commit

Permalink
fix how we detect an unset variable
Browse files Browse the repository at this point in the history
  • Loading branch information
vtbassmatt committed Mar 10, 2020
1 parent ec7010a commit a942b39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ci/scripts/setup-environment.sh
Expand Up @@ -11,7 +11,7 @@ source "$(cd "$(dirname "$0")" && pwd)/../shared.sh"
# Since matrix variables are readonly in Azure Pipelines, we take
# INITIAL_RUST_CONFIGURE_ARGS and establish RUST_CONFIGURE_ARGS
# which downstream steps can alter
if [[ -n "${INITIAL_RUST_CONFIGURE_ARGS}" ]]; then
if [[ -v INITIAL_RUST_CONFIGURE_ARGS ]]; then
ciCommandSetEnv RUST_CONFIGURE_ARGS "${INITIAL_RUST_CONFIGURE_ARGS}"
fi

Expand Down

0 comments on commit a942b39

Please sign in to comment.