Make bash scripts exit on error rather than continue ()

This commit is contained in:
Michael Telatynski 2022-10-12 16:15:51 +01:00 committed by GitHub
parent 0e8e472138
commit 341b0b469e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 9 additions and 4 deletions

View file

@ -6,7 +6,7 @@
# the branch the current checkout is on, use that branch. Otherwise,
# use develop.
set -ex
set -x
GIT_CLONE_ARGS=("$@")
[ -z "$defbranch" ] && defbranch="develop"