summaryrefslogtreecommitdiff
path: root/buildstream/buildelement.py
diff options
context:
space:
mode:
Diffstat (limited to 'buildstream/buildelement.py')
-rw-r--r--buildstream/buildelement.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/buildstream/buildelement.py b/buildstream/buildelement.py
index ac50b5fbb..c7a97e983 100644
--- a/buildstream/buildelement.py
+++ b/buildstream/buildelement.py
@@ -69,8 +69,7 @@ class BuildElement(Element):
# Stage deps in the sandbox root
with self.timed_activity("Staging dependencies", silent_nested=True):
- for dep in self.dependencies(Scope.BUILD):
- dep.stage(sandbox)
+ self.stage_dependencies(sandbox, Scope.BUILD)
# Run any integration commands provided by the dependencies
# once they are all staged and ready