summaryrefslogtreecommitdiff
path: root/buildstream/_stream.py
diff options
context:
space:
mode:
Diffstat (limited to 'buildstream/_stream.py')
-rw-r--r--buildstream/_stream.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/buildstream/_stream.py b/buildstream/_stream.py
index 6a3d2c7fc..6f298c259 100644
--- a/buildstream/_stream.py
+++ b/buildstream/_stream.py
@@ -1199,7 +1199,7 @@ class Stream():
element_source_dir = self._get_element_dirname(directory, element)
if list(element.sources()):
os.makedirs(element_source_dir)
- element._stage_sources_at(element_source_dir)
+ element._stage_sources_at(element_source_dir, mount_workspaces=False)
# Write a master build script to the sandbox
def _write_build_script(self, directory, elements):