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

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 r35697]
This commit is contained in:
Rene Rivera
2006-10-23 16:30:38 +00:00
parent 7498325549
commit 1302f61cef

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
{