From ac8779029916298672f43e1aae39d9f8161636ad Mon Sep 17 00:00:00 2001 From: Aikar Date: Tue, 14 Aug 2018 19:59:53 -0400 Subject: [PATCH] fix makemcdevsrc auto rebuild --- scripts/makemcdevsrc.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/makemcdevsrc.sh b/scripts/makemcdevsrc.sh index a599924247..a4123a5a43 100755 --- a/scripts/makemcdevsrc.sh +++ b/scripts/makemcdevsrc.sh @@ -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"