diff options
author | Jürg Billeter <j@bitron.ch> | 2020-04-22 17:21:11 +0200 |
---|---|---|
committer | bst-marge-bot <marge-bot@buildstream.build> | 2020-04-27 08:32:32 +0000 |
commit | 8ea28d3b68c17140dd0a9c3080109c14d25e618d (patch) | |
tree | 42eb9cec9a018e4a398322c1d40d9f1dd2fadd28 | |
parent | 1f3752804419849aa196ac72e47396910e86376c (diff) | |
download | buildstream-8ea28d3b68c17140dd0a9c3080109c14d25e618d.tar.gz |
element.py: Create destination directory in stage_artifact()
-rw-r--r-- | src/buildstream/element.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buildstream/element.py b/src/buildstream/element.py index 8563eee3c..9efe97c54 100644 --- a/src/buildstream/element.py +++ b/src/buildstream/element.py @@ -659,7 +659,7 @@ class Element(Plugin): # Hard link it into the staging area # vbasedir = sandbox.get_virtual_directory() - vstagedir = vbasedir if path is None else vbasedir.descend(*path.lstrip(os.sep).split(os.sep)) + vstagedir = vbasedir if path is None else vbasedir.descend(*path.lstrip(os.sep).split(os.sep), create=True) split_filter = self.__split_filter_func(include, exclude, orphans) |