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-18 16:38:19 +0100
commitda897c1ace31bf37d0d8ec3bd9e0e3ddc58496ad (patch)
tree49ab8898c5a11a59d2e27089f924faf1cf06ba44
parentb9efe365e810ced31b4284f3052791c60cee587d (diff)
downloadbuildstream-da897c1ace31bf37d0d8ec3bd9e0e3ddc58496ad.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 d4d7a5861..463b529c1 100644
--- a/src/buildstream/plugins/sources/workspace.py
+++ b/src/buildstream/plugins/sources/workspace.py
@@ -71,7 +71,8 @@ class WorkspaceSource(Source):
self.fullpath = os.path.join(self.get_project_directory(), self.path)
def preflight(self):
- return
+ for source in self.get_element_sources():
+ source.preflight()
def get_ref(self):
return str(self.__source_digest)