Update from upstream SpigotMC

66af3b310e0
a969bf6c85d
95d56229d8f
87c1d0c8b7c
baf01cc7f84
38b8866783d [M]
This commit is contained in:
Zach Brown
2014-12-02 00:02:15 -06:00
parent 9cb520d8f1
commit 2bb64147b6
4 changed files with 47 additions and 21 deletions

View File

@@ -7,9 +7,10 @@ echo "Rebuilding Forked projects.... "
function applyPatch {
what=$1
target=$2
branch=$3
cd "$basedir/$what"
git fetch
git reset --hard origin/patched
git reset --hard "$branch"
git branch -f upstream >/dev/null
cd "$basedir"
@@ -39,7 +40,7 @@ function applyPatch {
echo
echo "Applying SpigotMC patches to CraftBukkit and Bukkit"
echo
applyPatch Bukkit Spigot-API && applyPatch CraftBukkit Spigot-Server
applyPatch Bukkit Spigot-API origin/master && applyPatch CraftBukkit Spigot-Server origin/patched
echo
echo "Applying PaperSpigot patches to Spigot-Server and Spigot-API"
echo