From f1d310658f8f8d7b1c1c7cf802cb98a451a61ed1 Mon Sep 17 00:00:00 2001 From: Santo Cariotti Date: Sun, 26 Jan 2025 15:08:12 +0100 Subject: Add debug env on scripts --- scripts/06-dataproc-update-cluster.sh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'scripts/06-dataproc-update-cluster.sh') diff --git a/scripts/06-dataproc-update-cluster.sh b/scripts/06-dataproc-update-cluster.sh index 8714e7d..dcf92e2 100755 --- a/scripts/06-dataproc-update-cluster.sh +++ b/scripts/06-dataproc-update-cluster.sh @@ -2,6 +2,10 @@ set -eu +if [ ${DEBUG:+1} ]; then + set -xo pipefail +fi + if [ "$#" -ne 3 ]; then echo "Usage: 'sh ${PWD}/$0 '" exit 1 -- cgit v1.2.3-18-g5258