From 4372f041bb7401c3adc2d5710566b13f64722102 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 27 Feb 2015 16:57:34 +0200 Subject: Variable assignment, appending support --- build/diagnostics.cxx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'build/diagnostics.cxx') 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 -- cgit v1.1