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/02-dataproc-copy-jar.sh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'scripts/02-dataproc-copy-jar.sh') diff --git a/scripts/02-dataproc-copy-jar.sh b/scripts/02-dataproc-copy-jar.sh index de8795f..8fc3750 100755 --- a/scripts/02-dataproc-copy-jar.sh +++ b/scripts/02-dataproc-copy-jar.sh @@ -1,5 +1,9 @@ #!/bin/sh +if [ ${DEBUG:+1} ]; then + set -euxo pipefail +fi + cd ./co-purchase-analysis SCALA_VERSION=2.12.10 sbt clean package cd - -- cgit v1.2.3-18-g5258