Merge pull request #2560 from coolo/fix_2559

pkglistgen: Force outdir for the checkouts
This commit is contained in:
Stephan Kulow 2021-05-10 12:45:41 +02:00 committed by GitHub
commit 0d5a9cfe6e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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: