aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build2/context.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/build2/context.cxx b/build2/context.cxx
index 87a6d71..d8921e4 100644
--- a/build2/context.cxx
+++ b/build2/context.cxx
@@ -61,8 +61,8 @@ namespace build2
{
auto& v (var_pool);
- v.find ("work", dir_path_type);
- v.find ("home", dir_path_type);
+ v.find ("build.work", dir_path_type);
+ v.find ("build.home", dir_path_type);
v.find ("src_root", dir_path_type);
v.find ("out_root", dir_path_type);
@@ -86,8 +86,8 @@ namespace build2
global_scope = scopes.insert (
dir_path ("/"), nullptr, true, false)->second;
- global_scope->assign ("work") = work;
- global_scope->assign ("home") = home;
+ global_scope->assign ("build.work") = work;
+ global_scope->assign ("build.home") = home;
// Register builtin target types.
//