[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[7174] parentheses around eval command
From: |
gavinsmith0123 |
Subject: |
[7174] parentheses around eval command |
Date: |
Sun, 22 May 2016 12:27:07 +0000 (UTC) |
Revision: 7174
http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=7174
Author: gavin
Date: 2016-05-22 12:27:07 +0000 (Sun, 22 May 2016)
Log Message:
-----------
parentheses around eval command
Modified Paths:
--------------
trunk/ChangeLog
trunk/util/texi2dvi
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2016-05-18 18:26:47 UTC (rev 7173)
+++ trunk/ChangeLog 2016-05-22 12:27:07 UTC (rev 7174)
@@ -1,3 +1,9 @@
+2016-05-22 Ingo Feinerer <address@hidden> (tiny change)
+
+ * util/texi2dvi (run_tex, make_openout_test): Use parentheses
+ around "eval" command in order not to exit prematurely due to
+ "set -e" with ksh under OpenBSD.
+
2016-05-08 Gavin Smith <address@hidden>
* tp/Texinfo/Parser.pm (_parse_texi) <@abbr and @acronym>: Don't
Modified: trunk/util/texi2dvi
===================================================================
--- trunk/util/texi2dvi 2016-05-18 18:26:47 UTC (rev 7173)
+++ trunk/util/texi2dvi 2016-05-22 12:27:07 UTC (rev 7174)
@@ -938,7 +938,7 @@
echo "$tex_cmd")`
verbose "$0: Running $tex_cmd ..."
- if eval "$tex_cmd" >&5; then
+ if (eval "$tex_cmd" >&5); then
case $out_lang in
dvi | pdf ) move_to_dest "$in_noext.$out_lang";;
esac
@@ -1494,7 +1494,7 @@
# ./ in case . isn't in path
verbose "$0: running $tex_cmd ..."
rm -fr "openout.$2"
- eval "$tex_cmd" >/dev/null 2>&1
+ (eval "$tex_cmd" >/dev/null 2>&1)
}
# Check tex supports -recorder option
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [7174] parentheses around eval command,
gavinsmith0123 <=