sync-all-repos: wait between async and sync process
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 7s

This commit is contained in:
Nico Schottelius 2024-10-02 11:58:02 +09:00
parent 0ea5553cc1
commit ec515d6180

View file

@ -38,6 +38,9 @@ REPOLIST2="$REPOLIST $HOME/.password-store"
# First in parallel, then en sequence to spot errors # First in parallel, then en sequence to spot errors
for repo in "${REPOLIST}; do ( update_repo $repo & ) ; done for repo in "${REPOLIST}; do ( update_repo $repo & ) ; done
wait
for repo in "${REPOLIST}; do update_repo $repo ; done for repo in "${REPOLIST}; do update_repo $repo ; done
# Repos we want to sync, but don't want to update the working tree # Repos we want to sync, but don't want to update the working tree