mirror of
https://github.com/rpm-software-management/tito.git
synced 2025-02-24 04:32:46 +00:00
Change way built files are copied to basedir to address issue 316
This commit is contained in:
parent
bc3bf14f54
commit
2f417d552d
1 changed files with 3 additions and 2 deletions
|
@ -1159,12 +1159,13 @@ class MockBuilder(Builder):
|
|||
|
||||
# Copy everything mock wrote out to /tmp/tito:
|
||||
files = os.listdir(mock_output_dir)
|
||||
run_command_func("cp -v %s/*.rpm %s" %
|
||||
(mock_output_dir, self.rpmbuild_basedir))
|
||||
|
||||
print
|
||||
info_out("Wrote:")
|
||||
for rpm in files:
|
||||
rpm_path = os.path.join(self.rpmbuild_basedir, rpm)
|
||||
run_command_func("cp -v %s %s" %
|
||||
(os.path.join(mock_output_dir,rpm), self.rpmbuild_basedir))
|
||||
print(" %s" % rpm_path)
|
||||
self.artifacts.append(rpm_path)
|
||||
print
|
||||
|
|
Loading…
Add table
Reference in a new issue