latex-package.eclass: Drop redicting output to /dev/null for latex commands.
authorAlexis Ballier <aballier@gentoo.org>
Wed, 14 Jun 2017 10:47:42 +0000 (12:47 +0200)
committerAlexis Ballier <aballier@gentoo.org>
Wed, 14 Jun 2017 10:47:50 +0000 (12:47 +0200)
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

index 67f23d08439387e90005171df42da4b68510ad06..95d98e673700a2f6b99c6230ddb8572e9eff5cbe 100644 (file)
@@ -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
 }