From 9cabfe72de6ac6c3c71e14e4fa9c061240a44a9a Mon Sep 17 00:00:00 2001 From: ruki Date: Thu, 27 Jun 2019 23:30:37 +0800 Subject: fix get.sh --- scripts/get.sh | 1 + 1 file changed, 1 insertion(+) 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" ] -- cgit v1.3.1