aboutsummaryrefslogtreecommitdiff
path: root/build2/algorithm.cxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2016-12-01 20:32:38 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2016-12-05 17:21:48 +0300
commit26bdc152246f6a1caf1f0667b5f04f1804d599fa (patch)
treed65bc32bd9e4673de01708014b9908e5abd1f56e /build2/algorithm.cxx
parent4bad3a3aa3ffc111197f1d5d4b50baa1c4390444 (diff)
Adapt to semantics change of path::normalize()
Diffstat (limited to 'build2/algorithm.cxx')
-rw-r--r--build2/algorithm.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/build2/algorithm.cxx b/build2/algorithm.cxx
index 910f073..dbdf81c 100644
--- a/build2/algorithm.cxx
+++ b/build2/algorithm.cxx
@@ -44,7 +44,7 @@ namespace build2
fail << "unknown target type " << n.type << " in name " << n;
if (!n.dir.empty ())
- n.dir.normalize (); //@@ NORM (empty)
+ n.dir.normalize (false, true); // Current dir collapses to an empty one.
// @@ OUT: for now we assume the prerequisite's out is undetermined.
// Would need to pass a pair of names.