mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-23 02:55:47 +01:00
Use relative paths for paperclip
This commit is contained in:
parent
446ad1940f
commit
adc286112e
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 New Issue
Block a user