summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/get.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/get.sh b/scripts/get.sh
index 271c311d9..08cec9025 100755
--- a/scripts/get.sh
+++ b/scripts/get.sh
@@ -174,6 +174,7 @@ elif [ 'x__run__' = "x$branch" ]; then
remote_get_content "$runfile_url" > $projectdir/xmake.run
fi
sh $projectdir/xmake.run --noexec --target $projectdir
+ cd $projectdir || raise 'Chdir Error'
else
echo "cloning $gitrepo $branch .."
if [ x != "x$2" ]; then