pkglistgen: Force outdir for the checkouts

Otherwise the osc config for checkout_no_colon will interfer where the
files end up and then we can't open them reliable.

Fixes #2559
This commit is contained in:
Stephan Kulow 2021-05-10 12:21:55 +02:00
parent a59ce12e87
commit 8da0139b93

View File

@ -648,7 +648,8 @@ class PkgListGen(ToolBase.ToolBase):
if no_checkout:
print('Skipping checkout of {}/{}'.format(project, package))
continue
checkout_package(api.apiurl, project, package, expand_link=True, prj_dir=cache_dir)
checkout_package(api.apiurl, project, package, expand_link=True,
prj_dir=cache_dir, outdir=os.path.join(cache_dir, package))
file_utils.unlink_all_except(release_dir, ['weakremovers.inc'])
if not only_release_packages: