summaryrefslogtreecommitdiffstats
path: root/build/setup
diff options
context:
space:
mode:
Diffstat (limited to 'build/setup')
-rw-r--r--build/setup/repos.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/build/setup/repos.sh b/build/setup/repos.sh
index 0c7481a..208ba3e 100644
--- a/build/setup/repos.sh
+++ b/build/setup/repos.sh
@@ -35,12 +35,13 @@ function install_repo {
branch="$2"
script="$3"
- [ -d "$name" ] || git clone "$repo"
+ [ -d "$name" ] || git clone --recurse-submodules "$repo"
(
cd "$name"
git pull origin "$branch"
git checkout "$branch"
+ git submodule update --recursive --remote
bash "$setup_path/build/$script"
ln -sf "$setup_path/build/$script" ands_install.sh
)