From adc286112e93fde89a1f0f8aaaa72e229a03b879 Mon Sep 17 00:00:00 2001 From: Aikar Date: Fri, 1 Apr 2016 19:50:31 -0400 Subject: [PATCH] Use relative paths for paperclip --- init.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/init.sh b/init.sh index 8c081a0df..95dc3b37c 100755 --- a/init.sh +++ b/init.sh @@ -8,10 +8,10 @@ decompiledir="$workdir/$minecraftversion" nms="$decompiledir/net/minecraft/server" cb=src/main/java/net/minecraft/server -paperjar="$basedir/Paper-Server/target/paper-${minecraftversion}.jar" -vanillajar="${decompiledir}/${minecraftversion}.jar" +paperjar="Paper-Server/target/paper-${minecraftversion}.jar" +vanillajar="work/${minecraftversion}/${minecraftversion}.jar" -echo -e "mcver=${minecraftversion}\r\npaperjar=${paperjar}\r\nvanillajar=${vanillajar}" > paperclip.properties +echo -e "mcver=${minecraftversion}\npaperjar=../${paperjar}\nvanillajar=../${vanillajar}\n" > paperclip.properties patch=$(which patch 2>/dev/null) if [ "x$patch" == "x" ]; then