bug-texinfo
[Top][All Lists]
Advanced

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

FYI: texi2dvi: fix error invocations


From: Akim Demaille
Subject: FYI: texi2dvi: fix error invocations
Date: Wed, 15 Apr 2009 16:41:43 +0200
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.95 (gnu/linux)

Index: ChangeLog
from  Akim Demaille  <address@hidden>

        texi2dvi: fix error invocations.
        * bin/texi2dvi: error already reports $0, don't do it again.

Index: util/texi2dvi
===================================================================
RCS file: /cvsroot/texinfo/texinfo/util/texi2dvi,v
retrieving revision 1.144
diff -u -u -r1.144 texi2dvi
--- util/texi2dvi 15 Apr 2009 14:40:31 -0000 1.144
+++ util/texi2dvi 15 Apr 2009 14:41:09 -0000
@@ -545,7 +545,7 @@
     dvi | ps | dvipdf ) echo dvi;;
     pdf ) echo $out_lang;;
     html | info | text ) echo $out_lang;;
-    *)    error 1 "$0: invalid out_lang: $1";;
+    *)    error 1 "invalid out_lang: $1";;
   esac
 }
 
@@ -558,7 +558,7 @@
   case $out_lang in
     dvipdf ) echo pdf;;
     dvi | html | info | pdf | ps | text ) echo $out_lang;;
-    *)    error 1 "$0: invalid out_lang: $1";;
+    *)    error 1 "invalid out_lang: $1";;
   esac
 }
 
@@ -904,7 +904,7 @@
        esac;;
     texinfo:pdf) tex=$PDFTEX;;
 
-    *) error 1 "$0: $out_lang not supported for $in_lang";;
+    *) error 1 "$out_lang not supported for $in_lang";;
   esac
 
   # Beware of aux files in subdirectories that require the
@@ -1113,7 +1113,7 @@
   # outputting using the expected file name.
   run $dvipdf "$1"
   if test ! -f `echo "$1" | sed -e 's/\.dvi$/.pdf/'`; then
-    error 1 "$0: cannot find output file"
+    error 1 "cannot find output file"
   fi
 }
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]