Update repos on start

When Bridgehead is started, make sure that all repositories are up to
date first.
This commit is contained in:
DavidCroftDKFZ
2024-07-12 09:04:08 +02:00
parent 2e8b1dc96c
commit a8a15aaad8
2 changed files with 4 additions and 0 deletions

View File

@ -89,6 +89,8 @@ case "$ACTION" in
loadVars
hc_send log "Bridgehead $PROJECT startup: Checking requirements ..."
checkRequirements
# Note: changes to "bridgehead" script will only take effect after next start.
git pull
# Local versions of focus and transfair are needed by EHDS2
clone_focus_if_nonexistent ${BASE}/..
build_focus ${BASE}/..