bug-texinfo
[Top][All Lists]
Advanced

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

texi2dvi: Avoid spurious warnings from sed


From: Akim Demaille
Subject: texi2dvi: Avoid spurious warnings from sed
Date: Tue, 17 Jan 2006 12:29:51 +0100
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux)

Index: ChangeLog
from  Akim Demaille  <address@hidden>

        * util/texi2dvi (generated_files_get): Skip nonexistent files
        earlier.

Index: util/texi2dvi
===================================================================
RCS file: /cvsroot/texinfo/texinfo/util/texi2dvi,v
retrieving revision 1.71
diff -u -u -r1.71 texi2dvi
--- util/texi2dvi 9 Jan 2006 09:49:23 -0000 1.71
+++ util/texi2dvi 17 Jan 2006 11:25:20 -0000
@@ -524,6 +524,8 @@
   ) |
   # Depending on these files, infer outputs from other tools.
   while read file; do
+    test -f $file ||
+      continue
     echo $file
     case $language in
       (texinfo)
@@ -543,7 +545,7 @@
   done |
   # Filter existing files matching the criterion.
   while read file; do
-    if test -f $file && $filter $file; then
+    if $filter $file; then
       echo $file
     fi
   done |





reply via email to

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