Boost logo

Boost-Build :

Subject: Re: [Boost-build] Changing directory in an action
From: Rene Rivera (grafikrobot_at_[hidden])
Date: 2011-05-19 16:07:40

On 5/19/2011 2:49 PM, Matthew Chambers wrote:
> Is there an easy way to do this? I tried using pushd because this is
> common on Windows and *nix, but not common enough apparently. The
> command I'm running (from a make target) writes its output to the CWD.

I think you're going to have to give a bit more detail as to what you
actually are attempting. As otherwise my only answer is to just use
"cd".. Since all the actions run as sub-processes there's no chance of
actually changing the working dir of the bjam process. But you really
should avoid doing this, and instead try to find a way to get a correct
relative path.

-- Grafik - Don't Assume Anything
-- Redshift Software, Inc. -
-- rrivera/ (msn) - grafik/
-- 102708583/icq - grafikrobot/aim,yahoo,skype,efnet,gmail

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at