Boost logo

Boost-Build :

From: Toon Knapen (toon.knapen_at_[hidden])
Date: 2004-09-03 07:09:36


Vladimir Prus wrote:

>
> Toon Knapen wrote:
>
>>Vladimir Prus wrote:
>>
>>>Could you try adding this in the beginning of the same function
>>>instead of the code I've posted previously:
>>>
>>> local p = [ modules.peek : PATH ] ;
>>> ECHO PATH '$(p)' ;
>>> p = [ modules.peek : Path ] ;
>>> ECHO Path '$(p)' ;
>>> p = [ modules.peek : path ] ;
>>> ECHO path '$(p)' ;
>>
>>Here it is:
>
>
> Interesting: the 'Path' reported here is different from what you've reported
> from the registry.

The difference I see is that inside bjam PATH seems to be empty (in my
control pannel specified to be 'C:\Program Files\OpenVPN\bin') and that
that Path contains this extra 'C:\Program Files\OpenVPN\bin'. So
apparantly somewhere the content of 'PATH' gets moved to 'Path'.
Do you refer to this same difference?

> Maybe, you change it somewhere else? As the last test,
> could you do
>
> echo %PATH%

Echoing %PATH%, %Path% and %path% all result in the same output which is
also a concatenation of the 'PATH' and 'Path' I set in my control pannel.

> Now that I'm sure the empty value comes from 'Path' (I suspected non-existing
> 'path' too), I've comitted a change which should avoid the error. Could you
> try it?

I don't know what you changed exactly but it works !!!! Brilliant.

 


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk