From 3782c15fbce7bf5a9e1c2ea8ce47b12c07e7fda4 Mon Sep 17 00:00:00 2001 From: Ed Baunton Date: Fri, 27 Jul 2018 09:57:58 +0100 Subject: element.py (docs): dashes not underscores for build and install root Fix small error in docs in relation to `get_variable` documentation. --- buildstream/element.py | 4 ++-- 1 file 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. -- cgit v1.2.1