Skip to content

Commit

Permalink
build.sh: Move error-checking flag out of shebang
Browse files Browse the repository at this point in the history
Always enable error checking (e.g. in cases where invoking `bash ./build.sh` or `. ./build.sh` when shebang is not evaluated)
  • Loading branch information
mborgerson committed Sep 20, 2024
1 parent 00ea2fe commit dec80d0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build.sh
Original file line number Diff line number Diff line change
@@ -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}
Expand Down

0 comments on commit dec80d0

Please sign in to comment.