diff options
author | Tristan Maat <tristan.maat@codethink.co.uk> | 2018-05-31 17:43:55 +0100 |
---|---|---|
committer | Jürg Billeter <j@bitron.ch> | 2018-06-05 08:47:33 +0000 |
commit | 065f5ac71f3f9b8b04a4bea66a2c0f6db781d29c (patch) | |
tree | b6e4e33588dd03957be40fe3d4649121e4fdff0e | |
parent | 4708ee6bf9a7c6046157c79d227778b7b0b167ae (diff) | |
download | buildstream-065f5ac71f3f9b8b04a4bea66a2c0f6db781d29c.tar.gz |
_context.py: Normalize user-defined paths
-rw-r--r-- | buildstream/_context.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/buildstream/_context.py b/buildstream/_context.py index bf7f49515..c0d49b245 100644 --- a/buildstream/_context.py +++ b/buildstream/_context.py @@ -161,6 +161,7 @@ class Context(): path = _yaml.node_get(defaults, str, directory) path = os.path.expanduser(path) path = os.path.expandvars(path) + path = os.path.normpath(path) setattr(self, directory, path) # Load artifact share configuration |