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