From d384539bb41ad619204bd17a3d9a2f7e8ac47982 Mon Sep 17 00:00:00 2001 From: Gabscap Date: Wed, 23 Mar 2016 23:29:56 +0100 Subject: [PATCH] Fix build error - Resolves #130 If the path to the Paper repository contained a space, it would fail to execute dirname $PATH_WITH_SPACE --- applyPatches.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/applyPatches.sh b/applyPatches.sh index 3421a961c..be46ee21b 100755 --- a/applyPatches.sh +++ b/applyPatches.sh @@ -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