summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSanto Cariotti <santo@dcariotti.me>2025-02-10 19:55:25 +0100
committerSanto Cariotti <santo@dcariotti.me>2025-02-10 19:55:25 +0100
commitcc1e3b52cf769e371931646b741ffff7be6588f3 (patch)
treeb635c3f8ef1bf8507c7b6fc52cb557e093d3bdd6
parent344d250b74ab667687ffe5c820114eb4deea871a (diff)
Fix debug variable on script 00
-rwxr-xr-xscripts/00-create-service-account.sh4
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} \