Make bash scripts exit on error rather than continue (#23467)
This commit is contained in:
committed by
GitHub
parent
0e8e472138
commit
341b0b469e
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user