aboutsummaryrefslogtreecommitdiff
path: root/build/diagnostics.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-02-27 16:57:34 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-02-27 16:57:34 +0200
commit4372f041bb7401c3adc2d5710566b13f64722102 (patch)
tree5f37f6e69e5529d3628b7611bb642dba15d885c0 /build/diagnostics.cxx
parente1d2e3b63934c1e193429f1d6c4e04abc0e85d56 (diff)
Variable assignment, appending support
Diffstat (limited to 'build/diagnostics.cxx')
-rw-r--r--build/diagnostics.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/build/diagnostics.cxx b/build/diagnostics.cxx
index e2e8b95..34bbee8 100644
--- a/build/diagnostics.cxx
+++ b/build/diagnostics.cxx
@@ -18,6 +18,9 @@ namespace build
{
if (p.absolute ())
{
+ if (p == work)
+ return ".";
+
path rp (relative_work (p));
#ifndef _WIN32