build_common: no branches, main; ensure git dir
This commit is contained in:
parent
c606fee335
commit
f9393b5311
|
@ -16,10 +16,14 @@ common_start() {
|
|||
detach='-d'
|
||||
fi
|
||||
|
||||
# ensure uses pilot-pangea branch
|
||||
# ensure uses pilot-pangea branch and it is up to date
|
||||
(
|
||||
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
|
||||
|
|
Reference in New Issue