diff options
author | Santo Cariotti <santo@dcariotti.me> | 2025-02-10 19:55:25 +0100 |
---|---|---|
committer | Santo Cariotti <santo@dcariotti.me> | 2025-02-10 19:55:25 +0100 |
commit | cc1e3b52cf769e371931646b741ffff7be6588f3 (patch) | |
tree | b635c3f8ef1bf8507c7b6fc52cb557e093d3bdd6 | |
parent | 344d250b74ab667687ffe5c820114eb4deea871a (diff) |
Fix debug variable on script 00
-rwxr-xr-x | scripts/00-create-service-account.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/00-create-service-account.sh b/scripts/00-create-service-account.sh index 5048df8..76217f9 100755 --- a/scripts/00-create-service-account.sh +++ b/scripts/00-create-service-account.sh @@ -1,7 +1,7 @@ #!/bin/sh -if [ -z $DEBUG ]; then - set -euxo pipefail +if [ ${DEBUG:+1} ]; then + set -exo pipefail fi gcloud iam service-accounts create ${SERVICE_ACCOUNT} \ |