Browse Source

Don't say both that the PDF file is inexistant and empty

master
Matthieu Moy 6 years ago
parent
commit
71425672d2
  1. 4
      git-latexdiff

4
git-latexdiff

@ -737,9 +737,7 @@ pdffile="$builddir/$mainbase".pdf
if test ! -r "$pdffile" ; then
echo "No PDF file generated."
compile_error=1
fi
if test ! -s "$pdffile" ; then
elif test ! -s "$pdffile" ; then
echo "PDF file generated is empty."
compile_error=1
fi

Loading…
Cancel
Save