summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarius Makovsky <traveltissues@protonmail.com>2019-09-17 18:14:05 +0100
committerDarius Makovsky <traveltissues@protonmail.com>2019-09-18 16:38:19 +0100
commite8d634e4c4771a0441679675205ba6c4c19897f4 (patch)
tree5e50a5adfc451c396f5585057ab879373a65ea18
parent47e50b97df7a120f696a7f79f152fd33371a761c (diff)
downloadbuildstream-e8d634e4c4771a0441679675205ba6c4c19897f4.tar.gz
workspace.py: load the project path as the fullpath
-rw-r--r--src/buildstream/plugins/sources/workspace.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buildstream/plugins/sources/workspace.py b/src/buildstream/plugins/sources/workspace.py
index c120f07de..d4d7a5861 100644
--- a/src/buildstream/plugins/sources/workspace.py
+++ b/src/buildstream/plugins/sources/workspace.py
@@ -66,7 +66,7 @@ class WorkspaceSource(Source):
def configure(self, node):
node.validate_keys(['path', 'ref', 'kind'])
- self.path = self.node_get_project_path(node.get_scalar('path'))
+ self.path = node.get_str('path')
self.__source_digest = node.get_str('ref')
self.fullpath = os.path.join(self.get_project_directory(), self.path)