Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r79889 - trunk/tools/build/v2
From: jurko.gospodnetic_at_[hidden]
Date: 2012-08-06 11:34:08


Author: jurko
Date: 2012-08-06 11:34:07 EDT (Mon, 06 Aug 2012)
New Revision: 79889
URL: http://svn.boost.org/trac/boost/changeset/79889

Log:
Boost Build cleanup - minor stylistic change.
Text files modified:
   trunk/tools/build/v2/build-system.jam | 7 +++++--
   1 files changed, 5 insertions(+), 2 deletions(-)

Modified: trunk/tools/build/v2/build-system.jam
==============================================================================
--- trunk/tools/build/v2/build-system.jam (original)
+++ trunk/tools/build/v2/build-system.jam 2012-08-06 11:34:07 EDT (Mon, 06 Aug 2012)
@@ -556,9 +556,12 @@
     # seen. Otherwise, we would not be able to refer to subprojects using target
     # ids.
     local current-project ;
- if [ project.find "." : "." ]
     {
- current-project = [ project.target [ project.load "." ] ] ;
+ local current-module = [ project.find "." : "." ] ;
+ if $(current-module)
+ {
+ current-project = [ project.target $(current-module) ] ;
+ }
     }
 
     # Load the default toolset module if no other has already been specified.


Boost-Commit 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