mirror of
https://github.com/boostorg/build.git
synced 2026-02-16 13:22:11 +00:00
Restore file-referece.location method.
[SVN r34032]
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user