summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarius Makovsky <traveltissues@protonmail.com>2019-09-17 18:14:15 +0100
committerDarius Makovsky <traveltissues@protonmail.com>2019-09-19 15:06:47 +0100
commitaf4df4bfcdbf8f7fe5ff9bfcbdb70fe2dcf19cef (patch)
tree4e564139e32e9b528970ebc70c5ce103d542b8be
parentbd93eb73d6390bee504eac4f1cb74f1a18f089f6 (diff)
downloadbuildstream-af4df4bfcdbf8f7fe5ff9bfcbdb70fe2dcf19cef.tar.gz
workspace.py: use the source preflight in preflight
-rw-r--r--src/buildstream/plugins/sources/workspace.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/buildstream/plugins/sources/workspace.py b/src/buildstream/plugins/sources/workspace.py
index a2e9391b3..6ca901322 100644
--- a/src/buildstream/plugins/sources/workspace.py
+++ b/src/buildstream/plugins/sources/workspace.py
@@ -70,7 +70,8 @@ class WorkspaceSource(Source):
self.__source_digest = node.get_str('ref')
def preflight(self):
- return
+ for source in self.get_element_sources():
+ source.preflight()
def get_ref(self):
return str(self.__source_digest)