diff --git a/roles/bodhi2/backend/files/new-updates-sync b/roles/bodhi2/backend/files/new-updates-sync index a9604e40f7..2f45c1d117 100755 --- a/roles/bodhi2/backend/files/new-updates-sync +++ b/roles/bodhi2/backend/files/new-updates-sync @@ -312,7 +312,7 @@ def sync_single_repo(release, repo): for archdef in RELEASES[release]['repos'][repo]['to']: for arch in archdef['arches']: - dest_path = os.path.join(archdef['dest'], destarch) + dest_path = os.path.join(archdef['dest'], arch) results.append(sync_single_repo_arch(release, repo, arch, dest_path)) stats = collect_stats(results)