aboutsummaryrefslogtreecommitdiff
path: root/build/algorithm.cxx
diff options
context:
space:
mode:
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 ();
}