Skip to content

Commit

Permalink
fix: use portable env var check in deploy script for compatibility wi…
Browse files Browse the repository at this point in the history
…th macOS zsh

Signed-off-by: Tony Chen <[email protected]>
  • Loading branch information
Nahemah1022 committed Aug 5, 2024
1 parent aa9f428 commit 8e5ed00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deploy/dev/utils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ set_env_backends() {
done
fi

if [[ -v AIS_BACKEND_PROVIDERS ]]; then
if [[ -n "${AIS_BACKEND_PROVIDERS+x}" ]]; then
## environment takes precedence over STDIN
local orig=$AIS_BACKEND_PROVIDERS

Expand Down

0 comments on commit 8e5ed00

Please sign in to comment.