summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sphinx/setup_command.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/sphinx/setup_command.py b/sphinx/setup_command.py
index 939fbb217..929408204 100644
--- a/sphinx/setup_command.py
+++ b/sphinx/setup_command.py
@@ -110,7 +110,6 @@ class BuildDoc(Command):
build = self.get_finalized_command('build')
self.build_dir = os.path.join(build.build_base, 'sphinx')
self.mkpath(self.build_dir)
- self.ensure_dirname('build_dir')
self.doctree_dir = os.path.join(self.build_dir, 'doctrees')
self.mkpath(self.doctree_dir)
self.builder_target_dir = os.path.join(self.build_dir, self.builder)