mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-28 23:38:25 +01:00
fix makemcdevsrc auto rebuild
This commit is contained in:
parent
03a91ff33e
commit
45df85fc40
1 changed files with 1 additions and 0 deletions
|
@ -5,6 +5,7 @@ set -e
|
||||||
PS1="$"
|
PS1="$"
|
||||||
|
|
||||||
basedir="$(cd "$1" && pwd -P)"
|
basedir="$(cd "$1" && pwd -P)"
|
||||||
|
cd "$basedir"
|
||||||
workdir="$basedir/work"
|
workdir="$basedir/work"
|
||||||
minecraftversion=$(cat "$workdir/BuildData/info.json" | grep minecraftVersion | cut -d '"' -f 4)
|
minecraftversion=$(cat "$workdir/BuildData/info.json" | grep minecraftVersion | cut -d '"' -f 4)
|
||||||
decompiledir="$workdir/Minecraft/$minecraftversion"
|
decompiledir="$workdir/Minecraft/$minecraftversion"
|
||||||
|
|
Loading…
Reference in a new issue