Subject: Re: [Boost-build] Doc build failure on release branch
From: Steve M. Robbins (steve_at_[hidden])
Date: 2008-10-09 10:21:36
On Thu, Oct 09, 2008 at 09:36:15AM +0400, Vladimir Prus wrote:
> In fact, the original
> return "$(variable)=$(value)$(nl)export $(variable)$(nl)" ;
> probably is too complex, as
> return "export $(variable)=$(value)$(nl)" ;
> should work everywhere, too.
Actually, it is the first formulation that is more portable.
The second works in Bash (and perhaps other shells) but not in the
original Bourne shell. I'm not sure whether cygwin can be installed
with /bin/sh as something other than bash, but it's safer to use the
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