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"
|
||||
@ -28,3 +30,4 @@ if [ ! -d "$decompiledir/net/minecraft/server" ]; then
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user