aboutsummaryrefslogtreecommitdiff
path: root/build/name.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'build/name.cxx')
-rw-r--r--build/name.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/build/name.cxx b/build/name.cxx
index 9de1695..4ffc848 100644
--- a/build/name.cxx
+++ b/build/name.cxx
@@ -30,6 +30,8 @@ namespace build
s.back () != path::traits::directory_separator)
os << path::traits::directory_separator;
}
+ else if (n.value.empty () && n.type.empty ())
+ os << s; // Otherwise nothing gets printed.
}
os << n.value;