cmd_build(): actually override packages{} with selection when not building all
Signed-off-by: InsanePrawn <insane.prawny@gmail.com>
This commit is contained in:
parent
838124b856
commit
4d21bb8234
1 changed files with 2 additions and 1 deletions
|
@ -369,7 +369,8 @@ def cmd_build(verbose, path):
|
||||||
for package in packages.values():
|
for package in packages.values():
|
||||||
if package.path == path:
|
if package.path == path:
|
||||||
# TODO: currently matches through package.name only, no provides
|
# TODO: currently matches through package.name only, no provides
|
||||||
selection += [ packages[pkg] for pkg in package.local_depends] + [package]
|
selection += [ packages[pkg] for pkg in package.local_depends ] + [package]
|
||||||
|
packages = { package.name:package for package in selection }
|
||||||
|
|
||||||
package_order = generate_package_order(list(packages.values()))
|
package_order = generate_package_order(list(packages.values()))
|
||||||
need_build = []
|
need_build = []
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue