fix makemcdevsrc auto rebuild
This commit is contained in:
parent
c2b71edadc
commit
ac87790299
|
@ -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 New Issue