
David Abrahams <dave@boost-consulting.com> writes:
"Eric Niebler" <eric@boost-consulting.com> writes:
David Abrahams wrote:
"Johan Nilsson" <r.johan.nilsson@gmail.com> writes:
Actually, I think that this should be:
set HOME=%HOMEDRIVE%%HOMEPATH%
Done.
I tried to create a regression test for this, but I couldn't get the test system to pass environment variable settings down to the invoked bjam process.
I think this broke my Windows build environment. I had an envar HOME=C:\home, but a freshly built bjam.exe was unable to find my user-config.jam until I defined HOMEDRIVE and HOMEPATH also. Was this intentional?
No! It's supposed to check %HOMEDRIVE%%HOMEPATH% first, then %HOME%, then %BOOST_BUILD_PATH%. I'll look at this.
Should be fixed now.
Just out of curiosity: why weren't HOMEDRIVE and HOMEPATH set in your environment? Aren't they set up for you by Windows?
Still curious, though. -- Dave Abrahams Boost Consulting www.boost-consulting.com