diff options
author | Evelina Ametova <evelina@ipecompute4.ands.kit.edu> | 2022-02-01 12:14:51 +0100 |
---|---|---|
committer | Evelina Ametova <evelina@ipecompute4.ands.kit.edu> | 2022-02-01 12:14:51 +0100 |
commit | a3f93ec6436d64f515546ceefe394a79e0552b13 (patch) | |
tree | 7010c8c7b09d07e3cfc6c5995d7b81cac0af64a1 /build/setup | |
parent | 4db96282d126e10c691474264fcdbeca2398555e (diff) | |
download | ccpi-a3f93ec6436d64f515546ceefe394a79e0552b13.tar.gz ccpi-a3f93ec6436d64f515546ceefe394a79e0552b13.tar.bz2 ccpi-a3f93ec6436d64f515546ceefe394a79e0552b13.tar.xz ccpi-a3f93ec6436d64f515546ceefe394a79e0552b13.zip |
Update to new ubuntu and ccpi
Diffstat (limited to 'build/setup')
-rw-r--r-- | build/setup/repos.sh | 3 |
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 ) |