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