summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEd Baunton <ebaunton1@bloomberg.net>2018-07-27 09:57:58 +0100
committerTristan Van Berkom <tristan.van.berkom@gmail.com>2018-08-04 08:54:58 +0000
commit3782c15fbce7bf5a9e1c2ea8ce47b12c07e7fda4 (patch)
tree2fa962d9a6f3a7179a33f91932f2dd433b541786
parent4e1160a93282e290ac1581a63b5ee8a6f4f3f4b4 (diff)
downloadbuildstream-3782c15fbce7bf5a9e1c2ea8ce47b12c07e7fda4.tar.gz
element.py (docs): dashes not underscores for build and install root
Fix small error in docs in relation to `get_variable` documentation.
-rw-r--r--buildstream/element.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/buildstream/element.py b/buildstream/element.py
index e2a032197..a011869cd 100644
--- a/buildstream/element.py
+++ b/buildstream/element.py
@@ -369,8 +369,8 @@ class Element(Plugin):
generated script is run:
- All element variables have been exported.
- - The cwd is `self.get_variable('build_root')/self.normal_name`.
- - $PREFIX is set to `self.get_variable('install_root')`.
+ - The cwd is `self.get_variable('build-root')/self.normal_name`.
+ - $PREFIX is set to `self.get_variable('install-root')`.
- The directory indicated by $PREFIX is an empty directory.
Files are expected to be installed to $PREFIX.