2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-16 13:22:11 +00:00

(merge from head) Add "USERPROFILE" dir to user directories so that when the other HOME related vars don't point to the usual Windows location the user-config.jam can still be found. This fixes running from non-CMD shells, like the MinGW MSYS shell.

[SVN r35698]
This commit is contained in:
Rene Rivera
2006-10-23 16:31:53 +00:00
parent 0867c18d5e
commit 3febb379db

View File

@@ -63,7 +63,7 @@ EXPORT $(__name__) : $(.constants) ;
if $(.name) = NT
{
local home = [ environ HOMEDRIVE HOMEPATH ] ;
.home-directories = $(home[1])$(home[2]) [ environ HOME ] ;
.home-directories = $(home[1])$(home[2]) [ environ HOME ] [ environ USERPROFILE ] ;
}
else
{