Fix applyPatches.sh not correctly pulling bukkit updates

Conflicts:
	applyPatches.sh
This commit is contained in:
Thinkofdeath
2015-01-24 01:00:49 +00:00
parent 04dbeb4bf1
commit a0fb646609

View File

@@ -40,7 +40,10 @@ function applyPatch {
echo echo
echo "Applying SpigotMC patches to CraftBukkit and Bukkit" echo "Applying SpigotMC patches to CraftBukkit and Bukkit"
echo echo
applyPatch Bukkit Spigot-API origin/master && applyPatch CraftBukkit Spigot-Server origin/patched cd ../Bukkit
hash=$(git rev-parse HEAD)
git branch -f spigot "$hash"
applyPatch Bukkit Spigot-API origin/spigot && applyPatch CraftBukkit Spigot-Server origin/patched
echo echo
echo "Applying PaperSpigot patches to Spigot-Server and Spigot-API" echo "Applying PaperSpigot patches to Spigot-Server and Spigot-API"
echo echo