From f94ffa34e7e7f6119ed9df86247f396b39fd167d Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Mon, 23 Oct 2006 16:31:53 +0000 Subject: [PATCH] (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] --- v2/util/os.jam | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/v2/util/os.jam b/v2/util/os.jam index 67f1ab7f6..9e2ea1925 100644 --- a/v2/util/os.jam +++ b/v2/util/os.jam @@ -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 {