From da2bd25f0867a54a3b797815b24e44a130ac2b11 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 24 Aug 2015 14:49:10 +0200 Subject: Only treat name as directory if it is reversible --- build/context.cxx | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'build/context.cxx') diff --git a/build/context.cxx b/build/context.cxx index 530ac7a..3e3d0c3 100644 --- a/build/context.cxx +++ b/build/context.cxx @@ -72,15 +72,11 @@ namespace build // variable_pool.find ("subprojects", nullptr, '='); - // Create global scope. For Win32 we use the empty path since there - // is no "real" root path. On POSIX, however, this is a real path. - // See the comment in for details. + // Create global scope. For Win32 this is not a "real" root path. + // On POSIX, however, this is a real path. See the comment in + // for details. // -#ifdef _WIN32 - global_scope = &scopes[dir_path ()]; -#else global_scope = &scopes[dir_path ("/")]; -#endif global_scope->assign ("work") = work; global_scope->assign ("home") = home; -- cgit v1.1