[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#611408: texi2dvi: swallow error messages



* Hilmar Preuße <hille42@web.de>, 2011-02-09, 12:36:
This part of /usr/bin/texi2dvi

    if test $? != 0; then
      cat "$version_test_dir/txiversion.out"
      cat "$version_test_dir/txiversion.err" >&2
      error 1 "texinfo.tex appears to be broken, quitting."
    fi

is dead code. The whole script is run under "set -e", so if $TEX
fails, the script will be termined with no error message shown.

So, what do you suggest then? Should we/upstream simply remove that
code block?

On the constrary, the error message is crucial to successful debugging of text2dvi failures. So I'd like texi2dvi to display it, rather than terminate prematurely.

--
Jakub Wilk



Reply to: