summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--distbuild/build_controller.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/distbuild/build_controller.py b/distbuild/build_controller.py
index 8cc817ca..3aa149f8 100644
--- a/distbuild/build_controller.py
+++ b/distbuild/build_controller.py
@@ -172,7 +172,7 @@ def map_build_graph(artifact, callback, components=[]):
def find_artifacts(components, artifact):
found = []
for a in artifact.walk():
- if a.name in components:
+ if a.source_name in components or a.name in components:
found.append(a)
return found