summaryrefslogtreecommitdiff
path: root/buildstream
diff options
context:
space:
mode:
Diffstat (limited to 'buildstream')
-rw-r--r--buildstream/_context.py1
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