summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)