summaryrefslogtreecommitdiff
path: root/sphinx/quickstart.py
diff options
context:
space:
mode:
authorshimizukawa <shimizukawa@gmail.com>2015-09-13 11:29:31 +0900
committershimizukawa <shimizukawa@gmail.com>2015-09-13 11:29:31 +0900
commitfdfdfaccff8b75ca076b009272b9500dced72c25 (patch)
tree9d074ae0b20cd896416c072e9e458aaae020162d /sphinx/quickstart.py
parent8cf1612e37dcbf5ab5be4fc43bc7fe3ac18a110e (diff)
downloadsphinx-git-fdfdfaccff8b75ca076b009272b9500dced72c25.tar.gz
Fix "make blahblah" on Windows indicate help messages for sphinx-build every time. Closes #1989
Diffstat (limited to 'sphinx/quickstart.py')
-rw-r--r--sphinx/quickstart.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/sphinx/quickstart.py b/sphinx/quickstart.py
index f13a5c7cd..5e759da1a 100644
--- a/sphinx/quickstart.py
+++ b/sphinx/quickstart.py
@@ -716,7 +716,7 @@ if "%%1" == "clean" (
REM Check if sphinx-build is available and fallback to Python version if any
-%%SPHINXBUILD%% 2> nul
+%%SPHINXBUILD%% 1>NUL 2>NUL
if errorlevel 9009 goto sphinx_python
goto sphinx_ok
@@ -979,7 +979,7 @@ set SPHINXPROJ=%(project_fn)s
if "%%1" == "" goto help
-%%SPHINXBUILD%% 2> nul
+%%SPHINXBUILD%% >NUL 2>NUL
if errorlevel 9009 (
\techo.
\techo.The 'sphinx-build' command was not found. Make sure you have Sphinx