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 cffd77043e
commit d384539bb4

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