From a77fb5f38ddcfbaf7d06ea311a7ee97d5b03328e Mon Sep 17 00:00:00 2001 From: Vladimir Prus Date: Fri, 19 May 2006 13:38:57 +0000 Subject: [PATCH] Restore file-referece.location method. [SVN r34032] --- v2/build/targets.jam | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/v2/build/targets.jam b/v2/build/targets.jam index 91e992ebe..5c2df682b 100644 --- a/v2/build/targets.jam +++ b/v2/build/targets.jam @@ -791,7 +791,7 @@ class file-reference : abstract-target rule generate ( properties ) { - compute-location ; + location ; return [ property-set.empty ] [ virtual-target.from-file $(self.name) : $(self.file-location) @@ -801,12 +801,12 @@ class file-reference : abstract-target # Returns true if the referred file really exists; rule exists ( ) { - compute-location ; + location ; return $(self.file-path) ; } - + # Returns the location of target. Needed by 'testing.jam' - rule compute-location ( ) + rule location ( ) { if ! $(self.file-location) {