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:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user