aboutsummaryrefslogtreecommitdiff
path: root/build/algorithm.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-02-20 09:38:38 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-02-20 09:38:38 +0200
commit90ae462a44a1478e1c4be1568997b6873f6e688d (patch)
tree26af054dea912de192b243c174da23061c57c444 /build/algorithm.cxx
parentc23346c4cda9e0c2318c302dc6014d3fef53a6d3 (diff)
Rename 'directory' to 'dir' in target, prerequisite
Diffstat (limited to 'build/algorithm.cxx')
-rw-r--r--build/algorithm.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/build/algorithm.cxx b/build/algorithm.cxx
index 616d21e..9d1a6fa 100644
--- a/build/algorithm.cxx
+++ b/build/algorithm.cxx
@@ -30,11 +30,11 @@ namespace build
//@@ TODO for now we just default to the directory scope.
//
path d;
- if (p.directory.absolute ())
- d = p.directory; // Already normalized.
+ if (p.dir.absolute ())
+ d = p.dir; // Already normalized.
else
{
- d = p.scope.path () / p.directory;
+ d = p.scope.path () / p.dir;
d.normalize ();
}