new-updates-sync: Sync the srpms to source/tree/ dir
This will fix syncing the srpms to source/tree/ dir instead of source/ dir Signed-off-by: Mohan Boddu <mboddu@bhujji.com>
This commit is contained in:
parent
2712b45bfd
commit
049412ee15
1 changed files with 4 additions and 1 deletions
|
@ -312,7 +312,10 @@ 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'], arch)
|
||||
if 'source' in arch:
|
||||
dest_path = os.path.join(archdef['dest'], arch, 'tree')
|
||||
else
|
||||
dest_path = os.path.join(archdef['dest'], arch)
|
||||
results.append(sync_single_repo_arch(release, repo, arch, dest_path))
|
||||
|
||||
stats = collect_stats(results)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue