Sync rawhide content to the right place

Signed-off-by: Mohan Boddu <mboddu@redhat.com>
This commit is contained in:
Mohan Boddu 2018-08-29 17:11:08 +00:00
parent ffaa05e029
commit 328128cc3f

View file

@ -344,6 +344,9 @@ def sync_single_repo(release, repo):
for archdef in RELEASES[release]['repos'][repo]['to']:
for arch in archdef['arches']:
destarch = 'SRPMS' if arch == 'source' else arch
if repo == 'rawhide':
dest_path = os.path.join(archdef['dest'], destarch, 'os')
else:
dest_path = os.path.join(archdef['dest'], destarch)
results.append(sync_single_repo_arch(release, repo, arch, dest_path))