mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-28 07:20:24 +01:00
Use absolute paths for pointing Paperclip to files
This commit is contained in:
parent
1f65945d1c
commit
60f643684a
1 changed files with 2 additions and 2 deletions
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue