fix makemcdevsrc auto rebuild

This commit is contained in:
Aikar 2018-08-14 19:59:53 -04:00
parent 03a91ff33e
commit 45df85fc40

View file

@ -5,6 +5,7 @@ set -e
PS1="$"
basedir="$(cd "$1" && pwd -P)"
cd "$basedir"
workdir="$basedir/work"
minecraftversion=$(cat "$workdir/BuildData/info.json" | grep minecraftVersion | cut -d '"' -f 4)
decompiledir="$workdir/Minecraft/$minecraftversion"