ensure subupdates are performed on first clone

This commit is contained in:
southerntofu 2020-11-25 18:36:58 +01:00
parent 6938e47102
commit 7d42bd7a15
1 changed files with 5 additions and 0 deletions

View File

@ -350,6 +350,11 @@ for p_name in ${PROJECTS[*]}; do
fi
cd $p_dir
# Submodule updates, maybe?
if [ -f $BASEDIR/$p_name.subupdates ]; then
subupdates $dvcs
fi
# checkout a specific branch/commit
if [ -f $BASEDIR/$p_name.checkout ]; then
p_branch="$(cat $BASEDIR/$p_name.checkout)"