fixed improper handling of return code (pdf and ps.gz formats)
authorurbanc
Sat, 24 May 2008 02:19:09 +0200
changeset 26979 c58778bdf146
parent 26978 fd4b4ecf935e
child 26980 f7f48bb9a025
fixed improper handling of return code (pdf and ps.gz formats)
lib/Tools/document
lib/Tools/latex
--- a/lib/Tools/document	Fri May 23 21:20:26 2008 +0200
+++ b/lib/Tools/document	Sat May 24 02:19:09 2008 +0200
@@ -138,7 +138,7 @@
     RC="$?"
   elif [ "$OUTFORMAT" = pdf ]; then
     pre_latex pdf && \
-    "$ISATOOL" latex -o pdf && \
+    "$ISATOOL" latex -o pdf
     RC="$?"
   else
     pre_latex dvi && \
--- a/lib/Tools/latex	Fri May 23 21:20:26 2008 +0200
+++ b/lib/Tools/latex	Sat May 24 02:19:09 2008 +0200
@@ -117,7 +117,7 @@
   ps.gz)
     check_root && \
     run_latex && \
-    run_dvips &&
+    run_dvips && \
     gzip -f "$FILEBASE.ps"
     RC="$?"
     ;;