mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-30 16:19:03 +01:00
Don't build if patches fail to apply.
By: md_5 <md_5@live.com.au>
This commit is contained in:
parent
d186cbe800
commit
e8c26983b1
1 changed files with 2 additions and 2 deletions
|
@ -23,10 +23,10 @@ function applyPatch {
|
||||||
echo " Something did not apply cleanly to $target."
|
echo " Something did not apply cleanly to $target."
|
||||||
echo " Please review above details and finish the apply then"
|
echo " Please review above details and finish the apply then"
|
||||||
echo " save the changes with rebuildPatches.sh"
|
echo " save the changes with rebuildPatches.sh"
|
||||||
|
exit 1
|
||||||
else
|
else
|
||||||
echo " Patches applied cleanly to $target"
|
echo " Patches applied cleanly to $target"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
applyPatch Bukkit Spigot-API
|
applyPatch Bukkit Spigot-API && applyPatch CraftBukkit Spigot
|
||||||
applyPatch CraftBukkit Spigot
|
|
||||||
|
|
Loading…
Reference in a new issue