diff options
Diffstat (limited to 'build2/context.cxx')
-rw-r--r-- | build2/context.cxx | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/build2/context.cxx b/build2/context.cxx index a193abf..0966c3a 100644 --- a/build2/context.cxx +++ b/build2/context.cxx @@ -80,19 +80,17 @@ namespace build2 operation_table.insert ("install"); operation_table.insert ("uninstall"); - // Create global scope. For Win32 this is not a "real" root path. - // On POSIX, however, this is a real path. See the comment in - // <build2/path-map> for details. + // Create global scope. Note that the empty path is a prefix for any other + // path. See the comment in <butl/prefix-map> for details. // { - auto i (scopes.insert (dir_path ("/"), false)); + auto i (scopes.insert (dir_path (), false)); global_scope = &i->second; global_scope->out_path_ = &i->first; } scope& gs (*global_scope); - // Parse and enter the command line variables. We do it before entering // any other variables so that all the variables that are overriden are // marked as such first. Then, as we enter variables, we can verify that |