summaryrefslogtreecommitdiff
path: root/src/base/output.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/base/output.cc')
-rw-r--r--src/base/output.cc6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/base/output.cc b/src/base/output.cc
index 5a1768a76..5a0f2ea70 100644
--- a/src/base/output.cc
+++ b/src/base/output.cc
@@ -60,12 +60,6 @@ OutputDirectory::setDirectory(const string &d)
dir = d;
- if (dir != ".") {
- if (mkdir(dir.c_str(), 0777) < 0 && errno != EEXIST)
- panic("couldn't make output dir %s: %s\n",
- dir, strerror(errno));
- }
-
// guarantee that directory ends with a '/'
if (dir[dir.size() - 1] != '/')
dir += "/";