diff options
author | Valentin David <valentin.david@gmail.com> | 2019-01-09 14:44:22 +0000 |
---|---|---|
committer | Valentin David <valentin.david@gmail.com> | 2019-01-09 14:44:22 +0000 |
commit | f7681925eee70170ee7c99dc6ade65c625564a73 (patch) | |
tree | 357ba4ddd7186df597fd21fbc582362e7310882e | |
parent | ba05c4fa6ce46210088f60d360765fc14f5971d9 (diff) | |
parent | eb0dbcfcaa4ba516f89844802af5637ed37172e4 (diff) | |
download | buildstream-f7681925eee70170ee7c99dc6ade65c625564a73.tar.gz |
Merge branch 'valentindavid/script_virtual_directory' into 'master'
buildstream/plugins/elements/script.py: Mark script as BST_VIRTUAL_DIRECTORY
Closes #850
See merge request BuildStream/buildstream!1047
-rw-r--r-- | buildstream/plugins/elements/script.py | 3 |
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') |