diff --git a/sync-all-repos b/sync-all-repos index ac4cfa5..e359df4 100755 --- a/sync-all-repos +++ b/sync-all-repos @@ -50,7 +50,7 @@ PULL_PUSH_REPOS="$HOME/vcs/k8s-config/ $HOME/vcs/ansible-main/" # First in parallel, then en sequence to spot errors for repo in ${REPOLIST}; do ( update_repo $repo & ) ; done -for repo in ${PULL_PUSH_REPOS}; do ( pull_repo $repo & ) ; done +for repo in ${PULL_PUSH_REPOS}; do ( pull_push_repo $repo & ) ; done echo "Waiting for async process to finish ..." @@ -62,7 +62,7 @@ exit 0 echo "Starting for sync process ..." for repo in ${REPOLIST}; do update_repo $repo ; done -for repo in ${PULL_PUSH_REPOS}; do pull_repo $repo ; done +for repo in ${PULL_PUSH_REPOS}; do pull_push_repo $repo ; done # Step 2: pull/push all other repos in ~/vcs/ # We cannot commit as we do not know the state, but we