diff options
Diffstat (limited to 'build/diagnostics.cxx')
-rw-r--r-- | build/diagnostics.cxx | 3 |
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 |