build_common: no branches, main; ensure git dir

This commit is contained in:
pedro 2024-01-23 10:42:42 +01:00
parent c606fee335
commit f9393b5311

View file

@ -16,10 +16,14 @@ common_start() {
detach='-d' detach='-d'
fi fi
# ensure uses pilot-pangea branch # ensure uses pilot-pangea branch and it is up to date
( (
cd ./IdHub cd ./IdHub
git checkout ${pilot} if [ -d .git ]; then
#git checkout ${pilot}
git checkout main
git pull
fi
) )
# some pilots might use idhub1 and/or idhub2 # some pilots might use idhub1 and/or idhub2