fix working dir path

This commit is contained in:
Tomas Kopecek 2022-01-19 15:26:14 +01:00
parent 7521198a8c
commit 49dfa51bc5

View file

@ -346,7 +346,7 @@ class KiwiCreateImageTask(BaseBuildTask):
if opts.get('make_prep'):
cmd = ['make', 'prep']
rv = broot.mock(['--cwd', broot.tmpdir(within=True), '--chroot', '--'] + cmd)
rv = broot.mock(['--cwd', os.path.join(broot.tmpdir(within=True), os.path.basename(scmsrcdir), desc_path), '--chroot', '--'] + cmd)
if rv:
raise koji.GenericError("Preparation step failed")