]> granicus.if.org Git - python/commitdiff
bpo-33670: Expose Sphinx errorlevel (GH-7156)
authorAndrés Delfino <adelfino@gmail.com>
Mon, 28 May 2018 23:28:22 +0000 (20:28 -0300)
committerSteve Dower <steve.dower@microsoft.com>
Mon, 28 May 2018 23:28:22 +0000 (16:28 -0700)
Doc/make.bat

index 3a4b365689dbf61b20c27143be56012c16df323a..7ca84979a300202fb5169a2e3896ae9100ff02f0 100644 (file)
@@ -22,7 +22,7 @@ if not defined SPHINXBUILD (
         %PYTHON% -m pip install python-docs-theme
         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 BLURB (