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
# Move out of Spigot
popd
basedir=$(dirname $basedir)
basedir=$(dirname "$basedir")
# Apply paper
applyPatch Spigot/Spigot-API Paper-API HEAD && applyPatch Spigot/Spigot-Server Paper-Server HEAD