From 45df85fc40eb612e0a3162b5871c775f61e20223 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"