summaryrefslogtreecommitdiff
path: root/scripts/get.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/get.sh')
-rwxr-xr-xscripts/get.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/get.sh b/scripts/get.sh
index fce123a23..5046d9e0f 100755
--- a/scripts/get.sh
+++ b/scripts/get.sh
@@ -121,7 +121,7 @@ if [ 'x__local__' != "x$branch" ]; then
git checkout -qf "$2"
cd - || my_exit 'Chdir Error'
else
- git clone --depth=1 -b "$branch" "https://github.com/$mirror/xmake.git" --recurse-submodules --shallow-submodules $projectdir || my_exit "$(echo -e 'Clone Fail\nCheck your network or branch name')"
+ git clone --depth=1 -b "$branch" "https://github.com/$mirror/xmake.git" --recurse-submodules $projectdir || my_exit "$(echo -e 'Clone Fail\nCheck your network or branch name')"
fi
else
if [ -d '.git' ]; then