mirror of https://gerrit.osmocom.org/osmo-ci
coverity: git pull --recursive / update submodules
osmo-trx has just started to use submodules, so let's add the related git commands here. Closes: OS#5846 Related: osmo-trx.git Change-Id I36c65a8c725c4da76dc70006cd96b0a2b6878e84 Change-Id: I876fa0152268bd7a43ca4c452d75c26ebadf7a6echanges/91/30791/2
parent
48614942c6
commit
4fdee2a0fc
|
@ -52,13 +52,13 @@ cd $BASEDIR
|
|||
for proj in $PROJECTS $PROJECTS_DONT_BUILD_TEST; do
|
||||
if [ -d $proj ]; then
|
||||
if [ -z "$SRC_SKIP_FETCH" ]; then
|
||||
(cd $proj && git fetch && git checkout -f -B master origin/master)
|
||||
(cd $proj && git fetch && git checkout -f -B master origin/master && git submodule update --recursive --remote)
|
||||
fi
|
||||
if [ -n "$SRC_CLEAN" ]; then
|
||||
git -C "$proj" clean -ffxd
|
||||
fi
|
||||
else
|
||||
git clone "$(osmo_git_clone_url "$proj")"
|
||||
git clone --recursive "$(osmo_git_clone_url "$proj")"
|
||||
fi
|
||||
done
|
||||
|
||||
|
|
Loading…
Reference in New Issue