summaryrefslogtreecommitdiff
path: root/buildstream/_frontend
diff options
context:
space:
mode:
authorJonathan Maw <jonathan.maw@codethink.co.uk>2018-12-06 17:41:33 +0000
committerJonathan Maw <jonathan.maw@codethink.co.uk>2018-12-11 16:15:19 +0000
commit7cf8334380a3454842b4263112a54c5cca4765f5 (patch)
tree33ce110f73366c8bfe06aaf60e6ed36e5a8a2c1c /buildstream/_frontend
parente564251b3a689c7dac74c754440f0dd4bcd6ca97 (diff)
downloadbuildstream-7cf8334380a3454842b4263112a54c5cca4765f5.tar.gz
_context.py: Store the directory buildstream was invoked on
Diffstat (limited to 'buildstream/_frontend')
-rw-r--r--buildstream/_frontend/app.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/buildstream/_frontend/app.py b/buildstream/_frontend/app.py
index 4094eec17..87b85cd37 100644
--- a/buildstream/_frontend/app.py
+++ b/buildstream/_frontend/app.py
@@ -164,7 +164,7 @@ class App():
# Load the Context
#
try:
- self.context = Context()
+ self.context = Context(directory)
self.context.load(config)
except BstError as e:
self._error_exit(e, "Error loading user configuration")