|
Boost-Build : |
From: David Abrahams (dave_at_[hidden])
Date: 2005-01-27 08:52:36
Vladimir Prus <ghost_at_[hidden]> writes:
> Probably, just the "getenv" rule in Jamfile content, that will peek the global
> module and reconstruct spaces:
>
> rule getenv ( name )
> {
> local v = [ module.peek : $(name) ] ;
> return $(v:J=' ') ;
> }
>
> ? It's a bit easier that a new builtin.
But it's not reliable. Hint: what happens if the variable value has
two consecutive spaces in it?
-- Dave Abrahams Boost Consulting www.boost-consulting.com
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