aboutsummaryrefslogtreecommitdiff
path: root/build2/test/script/parser.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/test/script/parser.cxx
parent4bad3a3aa3ffc111197f1d5d4b50baa1c4390444 (diff)
Adapt to semantics change of path::normalize()
Diffstat (limited to 'build2/test/script/parser.cxx')
-rw-r--r--build2/test/script/parser.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/build2/test/script/parser.cxx b/build2/test/script/parser.cxx
index 6054da9..1c3baea 100644
--- a/build2/test/script/parser.cxx
+++ b/build2/test/script/parser.cxx
@@ -1338,7 +1338,9 @@ namespace build2
if (!p.empty ())
{
- p.normalize (); //@@ NORM
+ // Current dir collapses to an empty one.
+ //
+ p.normalize (false, true);
return p;
}