aboutsummaryrefslogtreecommitdiff
path: root/build/target.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-02-24 08:27:04 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-02-24 08:27:04 +0200
commitfdb050b4b1b966683ff00dd14b268fe395492358 (patch)
treeb4da8e293eef9d8682c14cf64f2ed25cc1cc75ab /build/target.cxx
parent52925684387496e83425c79f74b29a91943466a7 (diff)
Use prefix_map for scopes, establish root scope
Diffstat (limited to 'build/target.cxx')
-rw-r--r--build/target.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/target.cxx b/build/target.cxx
index 235ceef..bb578c1 100644
--- a/build/target.cxx
+++ b/build/target.cxx
@@ -33,7 +33,7 @@ namespace build
{
os << s;
- if (!t.name.empty ())
+ if (!t.name.empty () && s.back () != path::traits::directory_separator)
os << path::traits::directory_separator;
}
}