summaryrefslogtreecommitdiff
path: root/buildstream/_stream.py
diff options
context:
space:
mode:
authorJonathan Maw <jonathan.maw@codethink.co.uk>2018-12-06 15:39:45 +0000
committerJonathan Maw <jonathan.maw@codethink.co.uk>2018-12-06 15:48:12 +0000
commit7fe5514349ba7c70dc6129b4cc05dcb371527800 (patch)
treeef029c0c2c9ad24ddf8cb7cfdfcb79669fc94be0 /buildstream/_stream.py
parent60e9678117183b3a7762dd592fc3be16f1ea57ce (diff)
downloadbuildstream-7fe5514349ba7c70dc6129b4cc05dcb371527800.tar.gz
Fix bst source-checkout not working with open workspaces
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):