3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-11-15 04:20:04 +01:00

Use absolute paths for pointing Paperclip to files

Dieser Commit ist enthalten in:
DemonWav 2017-09-23 13:30:55 -05:00
Ursprung 4fb6555d6e
Commit 1eadde1ee5
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: B6F23B7ED67DAE90

Datei anzeigen

@ -5,8 +5,8 @@ set -e
basedir="$(cd "$1" && pwd -P)" basedir="$(cd "$1" && pwd -P)"
workdir="$basedir/work" workdir="$basedir/work"
mcver=$(cat "$workdir/BuildData/info.json" | grep minecraftVersion | cut -d '"' -f 4) mcver=$(cat "$workdir/BuildData/info.json" | grep minecraftVersion | cut -d '"' -f 4)
paperjar="../../Paper-Server/target/paper-$mcver.jar" paperjar="$basedir/Paper-Server/target/paper-$mcver.jar"
vanillajar="../Minecraft/$mcver/$mcver.jar" vanillajar="$workdir/Minecraft/$mcver/$mcver.jar"
( (
cd "$workdir/Paperclip" cd "$workdir/Paperclip"