add date stamp to repoclosure logs to keep it as clean as possible

This commit is contained in:
Louis Abel 2022-05-29 17:00:47 -07:00
parent f36af93fc2
commit bcc1dd7c22
Signed by: label
GPG Key ID: B37E62D143879B36
1 changed files with 3 additions and 2 deletions

View File

@ -792,7 +792,7 @@ class RepoSync:
)
repoclosure_cmd = ('/usr/bin/dnf repoclosure {} '
'--repofrompath={},file://{}/{}/{}/os --repo={} --check={} {} '
'| tee -a {}/{}-repoclosure-{}.log').format(
'| tee -a {}/{}-repoclosure-{}-{}.log').format(
repoclosure_arch_list,
repo,
sync_root,
@ -803,7 +803,8 @@ class RepoSync:
join_repo_comb,
log_root,
repo,
arch
arch,
self.date_stamp
)
repoclosure_entry_point_open = open(repoclosure_entry_point_sh, "w+")
repoclosure_entry_point_open.write('#!/bin/bash\n')