aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/paperclip.sh
diff options
context:
space:
mode:
authorsulu5890 <[email protected]>2021-12-19 18:10:11 -0600
committerGitHub <[email protected]>2021-12-19 16:10:11 -0800
commitd77c69f3ed32a8009f50c54c607095e87dee3a10 (patch)
treede023072bfe6f2335373a69759f6fdbdc7780258 /scripts/paperclip.sh
parentfcf419512dfb929925e3caab195f7c1a89cd01c2 (diff)
downloadPaper-ver/1.9.4.tar.gz
Paper-ver/1.9.4.zip
Update Log4J (1.9.4) (#7151)ver/1.9.4
* Update Upstream (Craftbukkit) * update log4j
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 ""