summaryrefslogtreecommitdiff
path: root/buildstream/plugins/elements/script.py
diff options
context:
space:
mode:
Diffstat (limited to 'buildstream/plugins/elements/script.py')
-rw-r--r--buildstream/plugins/elements/script.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/buildstream/plugins/elements/script.py b/buildstream/plugins/elements/script.py
index 4e422c5db..6c33ecf95 100644
--- a/buildstream/plugins/elements/script.py
+++ b/buildstream/plugins/elements/script.py
@@ -42,6 +42,9 @@ import buildstream
class ScriptElement(buildstream.ScriptElement):
# pylint: disable=attribute-defined-outside-init
+ # This plugin has been modified to avoid the use of Sandbox.get_directory
+ BST_VIRTUAL_DIRECTORY = True
+
def configure(self, node):
for n in self.node_get_member(node, list, 'layout', []):
dst = self.node_subst_member(n, 'destination')