mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-28 07:20:24 +01:00
Use relative paths for paperclip
This commit is contained in:
parent
505761052f
commit
585b724740
1 changed files with 3 additions and 3 deletions
6
init.sh
6
init.sh
|
@ -8,10 +8,10 @@ decompiledir="$workdir/$minecraftversion"
|
|||
nms="$decompiledir/net/minecraft/server"
|
||||
cb=src/main/java/net/minecraft/server
|
||||
|
||||
paperjar="$basedir/Paper-Server/target/paper-${minecraftversion}.jar"
|
||||
vanillajar="${decompiledir}/${minecraftversion}.jar"
|
||||
paperjar="Paper-Server/target/paper-${minecraftversion}.jar"
|
||||
vanillajar="work/${minecraftversion}/${minecraftversion}.jar"
|
||||
|
||||
echo -e "mcver=${minecraftversion}\r\npaperjar=${paperjar}\r\nvanillajar=${vanillajar}" > paperclip.properties
|
||||
echo -e "mcver=${minecraftversion}\npaperjar=../${paperjar}\nvanillajar=../${vanillajar}\n" > paperclip.properties
|
||||
|
||||
patch=$(which patch 2>/dev/null)
|
||||
if [ "x$patch" == "x" ]; then
|
||||
|
|
Loading…
Reference in a new issue