From 364b343711394f23e602a0d24b4006f428022b9d Mon Sep 17 00:00:00 2001 From: mborgerson Date: Thu, 19 Sep 2024 19:48:23 -0700 Subject: [PATCH] build.sh: Move error-checking flag out of shebang Always enable error checking (e.g. in cases where invoking `bash ./build.sh` or `. ./build.sh` when shebang is not evaluated) --- build.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 296d6cc..f2fad7a 100755 --- a/build.sh +++ b/build.sh @@ -1,4 +1,5 @@ -#!/bin/bash -e +#!/bin/bash +set -e export CORRETTO_ARCHIVE=amazon-corretto-17-x64-linux-jdk.tar.gz export CORRETTO_URL=https://corretto.aws/downloads/latest/${CORRETTO_ARCHIVE}