From 1c814ddb98a1cd11d606702f682a1b1aa28fa757 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jurko=20Gospodneti=C4=87?= Date: Mon, 6 Aug 2012 15:34:07 +0000 Subject: [PATCH] Boost Build cleanup - minor stylistic change. [SVN r79889] --- src/build-system.jam | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/build-system.jam b/src/build-system.jam index fd57c1536..15fddbb8b 100644 --- a/src/build-system.jam +++ b/src/build-system.jam @@ -556,9 +556,12 @@ local rule should-clean-project ( project ) # 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.