From 8adb142720f5c262fdf74c0f0101ec4087f6ee74 Mon Sep 17 00:00:00 2001 From: fiddlosopher Date: Tue, 9 Jan 2007 06:11:29 +0000 Subject: Minor changes to markdown2pdf: removed an unnecessary '|| exit $?', and made sure error output goes to stderr. git-svn-id: https://pandoc.googlecode.com/svn/trunk@475 788f1e2b-df1e-0410-8736-df70ead52e1b --- src/wrappers/markdown2pdf.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/wrappers/markdown2pdf.in') diff --git a/src/wrappers/markdown2pdf.in b/src/wrappers/markdown2pdf.in index e1ef9e344..273c99a2e 100644 --- a/src/wrappers/markdown2pdf.in +++ b/src/wrappers/markdown2pdf.in @@ -10,7 +10,7 @@ SYNOPSIS="converts markdown-formatted text to PDF, using pdflatex." texname=output logfile=$THIS_TEMPDIR/log -pandoc -s -r markdown -w latex "$@" -o $THIS_TEMPDIR/$texname.tex || exit $? +pandoc -s -r markdown -w latex "$@" -o $THIS_TEMPDIR/$texname.tex if [ "$OUTPUT" = "-" ]; then firstinfile="$(echo $ARGS | sed -ne '1p')" @@ -54,7 +54,7 @@ fi ! bibtex $texname >/dev/null 2>&1 >bibtex.err; then if [ $runs -gt 2 ]; then err "${THIS}: bibtex warning messages:" - cat bibtex.err + cat bibtex.err >&2 fi fi else -- cgit v1.2.3