fix makemcdevsrc auto rebuild

This commit is contained in:
Aikar 2018-08-14 19:59:53 -04:00
parent c2b71edadc
commit ac87790299
No known key found for this signature in database
GPG Key ID: 401ADFC9891FAAFE

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"