Never mind.
Quote:
Originally Posted by johnsfine
I want a way to get pwd inside boost without following sym links.
|
I don't know why the obvious answer was so non obvious until I posted the question, but suddenly became obvious just because I posted.
In the situations where the difference (sym link or not) matters to me, there is also an environment variable PWD.
In bjam
PWD ?= [ PWD ] ;
defines a bjam variable as the environment variable if it was defined and the result of the PWD function only if the environment variable wasn't defined. Then I use
$(PWD) instead of
[ PWD ] where I actually need it.
Sorry I bothered you.