summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorruki <[email protected]>2022-12-24 13:41:24 +0800
committerruki <[email protected]>2022-12-24 13:41:24 +0800
commitf5ac76351a0b31af7f5ba9f7ada75434f5336987 (patch)
tree49e874c58fb67fdab4c65bc1d84878828085b287 /scripts
parent00066da7d90d4a67c3832ca433376b3b0e4ab079 (diff)
fix get.sh
Diffstat (limited to 'scripts')
-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