From d0a1c98f515946c72e4cb43840f3d5dcbf7b2172 Mon Sep 17 00:00:00 2001 From: Alexis Ballier Date: Wed, 14 Jun 2017 12:47:42 +0200 Subject: latex-package.eclass: Drop redicting output to /dev/null for latex commands. Most people dont display build log to the terminal anymore and having this output in the logs is mandatory for understanding bugs. --- eclass/latex-package.eclass | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'eclass/latex-package.eclass') diff --git a/eclass/latex-package.eclass b/eclass/latex-package.eclass index 67f23d084393..95d98e673700 100644 --- a/eclass/latex-package.eclass +++ b/eclass/latex-package.eclass @@ -139,11 +139,11 @@ latex-package_src_doinstall() { do [ -n "${LATEX_PACKAGE_SKIP}" ] && has ${i##*/} ${LATEX_PACKAGE_SKIP} && continue einfo "Making documentation: $i" - if pdflatex ${LATEX_DOC_ARGUMENTS} --interaction=batchmode $i &> /dev/null ; then - pdflatex ${LATEX_DOC_ARGUMENTS} --interaction=batchmode $i &> /dev/null || die + if pdflatex ${LATEX_DOC_ARGUMENTS} --interaction=batchmode $i ; then + pdflatex ${LATEX_DOC_ARGUMENTS} --interaction=batchmode $i || die else einfo "pdflatex failed, trying texi2dvi" - texi2dvi -q -c --language=latex $i &> /dev/null || die + texi2dvi -q -c --language=latex $i || die fi done fi @@ -205,7 +205,7 @@ latex-package_src_compile() { for i in `find \`pwd\` -maxdepth 1 -type f -name "*.ins"` do einfo "Extracting from $i" - latex --interaction=batchmode $i &> /dev/null || die + latex --interaction=batchmode $i || die done } -- cgit v1.2.3-65-gdbad