aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/paperclip.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/paperclip.sh')
-rwxr-xr-xscripts/paperclip.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/paperclip.sh b/scripts/paperclip.sh
index 071fe06cc2..f03d77aeb1 100755
--- a/scripts/paperclip.sh
+++ b/scripts/paperclip.sh
@@ -5,14 +5,14 @@ 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="../$mcver/$mcver.jar"
+paperjar="$basedir/Paper-Server/target/paper-$mcver.jar"
+vanillajar="$workdir/$mcver/$mcver.jar"
(
cd "$workdir/Paperclip"
mvn clean package "-Dmcver=$mcver" "-Dpaperjar=$paperjar" "-Dvanillajar=$vanillajar"
)
-cp "$workdir/Paperclip/target/paperclip-${mcver}.jar" "$basedir/paperclip.jar"
+cp "$workdir/Paperclip/assembly/target/paperclip-${mcver}.jar" "$basedir/paperclip.jar"
echo ""
echo ""