Fix build error - Resolves #130

If the path to the Paper repository contained a space, it would fail to execute
dirname $PATH_WITH_SPACE
This commit is contained in:
Gabscap 2016-03-23 23:29:56 +01:00
parent 65c5b95059
commit 9eba8a79e7

View file

@ -43,7 +43,7 @@ basedir=$basedir/Spigot
applyPatch ../Bukkit Spigot-API HEAD && applyPatch ../CraftBukkit Spigot-Server patched applyPatch ../Bukkit Spigot-API HEAD && applyPatch ../CraftBukkit Spigot-Server patched
# Move out of Spigot # Move out of Spigot
popd popd
basedir=$(dirname $basedir) basedir=$(dirname "$basedir")
# Apply paper # Apply paper
applyPatch Spigot/Spigot-API Paper-API HEAD && applyPatch Spigot/Spigot-Server Paper-Server HEAD applyPatch Spigot/Spigot-API Paper-API HEAD && applyPatch Spigot/Spigot-Server Paper-Server HEAD