Skip to content

Commit c2d68e5

Browse files
committed
Return the proper successful command
1 parent 24ba762 commit c2d68e5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

readthedocs/doc_builder/backends/sphinx.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@ def _build_latexmk(self, cwd, latex_cwd):
434434
cwd=latex_cwd,
435435
)
436436

437-
cmd_ret = self.run(
437+
cmd = self.run(
438438
'latexmk',
439439
'-r',
440440
rcfile,
@@ -451,7 +451,7 @@ def _build_latexmk(self, cwd, latex_cwd):
451451

452452
self.pdf_file_name = f'{self.project.slug}.pdf'
453453

454-
return True # :)
454+
return cmd.successful
455455

456456
def _build_pdflatex(self, tex_files, latex_cwd):
457457
pdflatex_cmds = [

0 commit comments

Comments
 (0)