Use set -e to handle errors better in the build scripts
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
(
|
||||
set -e
|
||||
PS1="$"
|
||||
basedir=$(realpath "$1")
|
||||
workdir="$basedir/work"
|
||||
@@ -67,4 +69,4 @@ cd "$basedir"
|
||||
echo "Failed to apply Paper Patches"
|
||||
exit 1
|
||||
) || exit 1
|
||||
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user