Commit 5583ef47 authored by Andrés Delfino's avatar Andrés Delfino Committed by Steve Dower

[2.7] bpo-33670: Expose Sphinx errorlevel (GH-7156). (GH-7201)

(cherry picked from commit 8c1ad0c4)
Co-authored-by: default avatarAndrés Delfino <adelfino@gmail.com>
parent 1da37adc
...@@ -13,7 +13,7 @@ if not defined SPHINXBUILD if defined PYTHON ( ...@@ -13,7 +13,7 @@ if not defined SPHINXBUILD if defined PYTHON (
%PYTHON% -m pip install sphinx %PYTHON% -m pip install sphinx
if errorlevel 1 exit /B if errorlevel 1 exit /B
) )
set SPHINXBUILD=%PYTHON% -c "import sphinx, sys; sys.argv[0] = 'sphinx-build'; sphinx.main()" set SPHINXBUILD=%PYTHON% -c "import sphinx, sys; sys.argv[0] = 'sphinx-build'; sys.exit(sphinx.main())"
) )
if not defined PYTHON set PYTHON=py if not defined PYTHON set PYTHON=py
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment