texinfo-commits
[Top][All Lists]
Advanced

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

[7037] make_openout_test fix with --batch


From: Gavin D. Smith
Subject: [7037] make_openout_test fix with --batch
Date: Sat, 27 Feb 2016 17:34:02 +0000

Revision: 7037
          http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=7037
Author:   gavin
Date:     2016-02-27 17:32:08 +0000 (Sat, 27 Feb 2016)
Log Message:
-----------
make_openout_test fix with --batch

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/util/texi2dvi

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog     2016-02-27 17:17:09 UTC (rev 7036)
+++ trunk/ChangeLog     2016-02-27 17:32:08 UTC (rev 7037)
@@ -1,3 +1,10 @@
+2016-02-27  Vincent Bela\xEFche  <address@hidden>
+
+       * util/texi2dvi (make_openout_test): make compilation of openout
+       test in batch mode with using batch variable, rather than taking
+       input from /dev/null, so that there is no clash with --batch
+       command line option.
+
 2016-02-27  Gavin Smith  <address@hidden>
 
        * tp/tests/long-tests.sh,

Modified: trunk/util/texi2dvi
===================================================================
--- trunk/util/texi2dvi 2016-02-27 17:17:09 UTC (rev 7036)
+++ trunk/util/texi2dvi 2016-02-27 17:32:08 UTC (rev 7037)
@@ -1476,14 +1476,17 @@
     # to exit with an input error.
     recorder_option_maybe="$1"
     save_catcode_special=$catcode_special
+    save_batch=$batch
     catcode_special=false
+    batch=true
     make_tex_cmd
     catcode_special=$save_catcode_special
+    batch=$save_batch
     tex_cmd="$tex_cmd ./openout.tex"
     # ./ in case . isn't in path
     verbose "$0: running $tex_cmd ..."
     rm -fr "openout.$2"
-    eval "$tex_cmd" </dev/null >/dev/null 2>&1
+    eval "$tex_cmd" >/dev/null 2>&1
 }
 
 # Check tex supports -recorder option




reply via email to

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