ensure subupdates are performed on first clone
This commit is contained in:
parent
6938e47102
commit
7d42bd7a15
|
@ -350,6 +350,11 @@ for p_name in ${PROJECTS[*]}; do
|
||||||
fi
|
fi
|
||||||
cd $p_dir
|
cd $p_dir
|
||||||
|
|
||||||
|
# Submodule updates, maybe?
|
||||||
|
if [ -f $BASEDIR/$p_name.subupdates ]; then
|
||||||
|
subupdates $dvcs
|
||||||
|
fi
|
||||||
|
|
||||||
# checkout a specific branch/commit
|
# checkout a specific branch/commit
|
||||||
if [ -f $BASEDIR/$p_name.checkout ]; then
|
if [ -f $BASEDIR/$p_name.checkout ]; then
|
||||||
p_branch="$(cat $BASEDIR/$p_name.checkout)"
|
p_branch="$(cat $BASEDIR/$p_name.checkout)"
|
||||||
|
|
Loading…
Reference in New Issue