8000 [2.7] bpo-33670: Expose Sphinx errorlevel (GH-7156). · andresdelfino/cpython@e6a75ff · GitHub
[go: up one dir, main page]

Skip to content

Commit e6a75ff

Browse files
committed
[2.7] bpo-33670: Expose Sphinx errorlevel (pythonGH-7156).
(cherry picked from commit 8c1ad0c) Co-authored-by: Andrés Delfino <adelfino@gmail.com>
1 parent 1da37ad commit e6a75ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/make.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ if not defined SPHINXBUILD if defined PYTHON (
1313
%PYTHON% -m pip install sphinx
1414
if errorlevel 1 exit /B
1515
)
16-
set SPHINXBUILD=%PYTHON% -c "import sphinx, sys; sys.argv[0] = 'sphinx-build'; sphinx.main()"
16+
set SPHINXBUILD=%PYTHON% -c "import sphinx, sys; sys.argv[0] = 'sphinx-build'; sys.exit(sphinx.main())"
1717
)
1818

1919
if not defined PYTHON set PYTHON=py

0 commit comments

Comments
 (0)
0