From 60f643684ac59137322c1d8b3393ed896fb8220e Mon Sep 17 00:00:00 2001 From: DemonWav Date: Sat, 23 Sep 2017 13:30:55 -0500 Subject: [PATCH] Use absolute paths for pointing Paperclip to files --- scripts/paperclip.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/paperclip.sh b/scripts/paperclip.sh index 579b3db680..693e6fc48d 100755 --- a/scripts/paperclip.sh +++ b/scripts/paperclip.sh @@ -5,8 +5,8 @@ set -e basedir="$(cd "$1" && pwd -P)" workdir="$basedir/work" mcver=$(cat "$workdir/BuildData/info.json" | grep minecraftVersion | cut -d '"' -f 4) -paperjar="../../Paper-Server/target/paper-$mcver.jar" -vanillajar="../Minecraft/$mcver/$mcver.jar" +paperjar="$basedir/Paper-Server/target/paper-$mcver.jar" +vanillajar="$workdir/Minecraft/$mcver/$mcver.jar" ( cd "$workdir/Paperclip"