4cd12d4
diff -up texinfo-6.1/util/texi2dvi.orig texinfo-6.1/util/texi2dvi
4cd12d4
--- texinfo-6.1/util/texi2dvi.orig	2016-02-06 13:21:52.000000000 +0100
4cd12d4
+++ texinfo-6.1/util/texi2dvi	2016-02-24 09:36:18.726954888 +0100
4cd12d4
@@ -988,15 +988,16 @@ run_bibtex ()
4cd12d4
 #                         that match PREDICATE.
4cd12d4
 filter_files ()
4cd12d4
 {
4cd12d4
-  test -n "$xref_files_new" && echo "$xref_files_new" |
4cd12d4
-  # Filter existing files matching the criterion.
4cd12d4
-  #
4cd12d4
-  while read file; do
4cd12d4
-    $1 "$file"
4cd12d4
-  done |
4cd12d4
-  sort |
4cd12d4
-  # Some files are opened several times, e.g., listings.sty's *.vrb.
4cd12d4
-  uniq
4cd12d4
+  test -n "$xref_files_new" || return 0
4cd12d4
+  echo "$xref_files_new" |
4cd12d4
+    # Filter existing files matching the criterion.
4cd12d4
+    #
4cd12d4
+    while read file; do
4cd12d4
+      $1 "$file"
4cd12d4
+    done |
4cd12d4
+    sort |
4cd12d4
+    # Some files are opened several times, e.g., listings.sty's *.vrb.
4cd12d4
+    uniq
4cd12d4
 }
4cd12d4
 
4cd12d4
 # run_index - Run texindex (or makeindex or texindy) on current index