Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2003-08-28 00:45:15


Hi Christopher,
> > The following patch will fix the problem, although I'm not sure its the
> > right way to do it.
>
> I hate it when I discover the right way AFTER posting to the list. :-)
> Ignore the previous patch, this one should be better.

Thanks for the catch, and the patch. There's only one problem. The
NORMALIZE_PATH works only on paths in partly normalized form. I.e. the path
should use "/" as separator. So, your change will fix only unix, but not
windows. I've changed

local whereami = [ NORMALIZE_PATH $(.bootstrap-file:D) ] ;

to

local whereami = [ NORMALIZE_PATH $(.bootstrap-file:DT) ] ;

and it works on windows too. (The 'T' modifier converts all backslashes to
forward slashes).

The change is comitted. Thanks!

- Volodya

--- bootstrap.jam 1 Jul 2003 05:14:46 -0000 1.5
+++ bootstrap.jam 27 Aug 2003 16:26:05 -0000
@@ -40,7 +40,7 @@
. # build-system.jam lives here

;
- local whereami = $(.bootstrap-file:D) ;

BOOST_BUILD_PATH += $(whereami:D)/$(subdirs) ;
}

>
> Christopher
>
>
>
>
> To unsubscribe from this group, send an email to:
> jamboost-unsubscribe_at_[hidden]
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/

 


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