aboutsummaryrefslogtreecommitdiff
path: root/build/context.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'build/context.cxx')
-rw-r--r--build/context.cxx16
1 files changed, 3 insertions, 13 deletions
diff --git a/build/context.cxx b/build/context.cxx
index 958fb98..1bd5033 100644
--- a/build/context.cxx
+++ b/build/context.cxx
@@ -58,22 +58,12 @@ namespace build
}
catch (const system_error& e)
{
- if (verb >= 1)
- text << "mkdir " << d.string ();
- else
- text << "mkdir " << d;
-
- fail << "unable to create directory " << d.string () << ": "
- << e.what ();
+ text << "mkdir " << d;
+ fail << "unable to create directory " << d << ": " << e.what ();
}
if (ms == mkdir_status::success)
- {
- if (verb >= 1)
- text << "mkdir " << d.string ();
- else
- text << "mkdir " << d;
- }
+ text << "mkdir " << d;
return ms;
}