diff options
| author | ruki <[email protected]> | 2019-06-27 23:30:37 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2019-06-27 15:03:45 +0800 |
| commit | 9cabfe72de6ac6c3c71e14e4fa9c061240a44a9a (patch) | |
| tree | 6d78e5dda2fb8d68a9a83cc14bffdace8c70e3b2 /scripts | |
| parent | 47538d071d97a7d8b5e1eba6ea348dd8032bd7f7 (diff) | |
fix get.sh
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/get.sh | 1 |
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" ] |
