Use set -e to handle errors better in the build scripts

This commit is contained in:
DemonWav
2016-04-03 02:23:19 -05:00
parent aeea23a135
commit ed05173181
11 changed files with 118 additions and 48 deletions

View File

@@ -1,5 +1,7 @@
#!/usr/bin/env bash
(
set -e
PS1="$"
basedir=$(realpath "$1")
workdir="$basedir/work"
@@ -14,3 +16,4 @@ function update {
update Bukkit
update CraftBukkit
update Spigot
)