summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
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 c9cdaff3e..9b06b49b6 100755
--- a/scripts/get.sh
+++ b/scripts/get.sh
@@ -111,6 +111,7 @@ then
git clone --depth=1 -b "$branch" "https://github.com/$mirror/xmake.git" --recursive $projectdir || my_exit "$(echo -e 'Clone Fail\nCheck your network or branch name')"
fi
else
+ git submodule update --init --recursive
projectdir=`pwd`
fi
if [ 'x__install_only__' != "x$2" ]