summaryrefslogtreecommitdiff
path: root/contrib/eqn2graph
diff options
context:
space:
mode:
authorwl <wl>2010-02-25 20:17:11 +0000
committerwl <wl>2010-02-25 20:17:11 +0000
commit07abc00a2998f607f128ade6b2d80f590d617b6e (patch)
treed0e2a2a8e67c9b0f049cf683e031cf6ea3c38f4a /contrib/eqn2graph
parent4de04ed53b19723acdc42512fb0b24daf280e1c4 (diff)
downloadgroff-07abc00a2998f607f128ade6b2d80f590d617b6e.tar.gz
Use named signals for `trap' in shell scripts.
* contrib/eqn2graph/eqn2graph.sh, contrib/grap2graph/grap2/graph.sh, contrib/pic2graph/pic2graph.sh: Do it.
Diffstat (limited to 'contrib/eqn2graph')
-rw-r--r--contrib/eqn2graph/eqn2graph.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/eqn2graph/eqn2graph.sh b/contrib/eqn2graph/eqn2graph.sh
index 69196831..2f1fa566 100644
--- a/contrib/eqn2graph/eqn2graph.sh
+++ b/contrib/eqn2graph/eqn2graph.sh
@@ -32,7 +32,7 @@
#
# Thus, we pass -U to groff(1), and everything else to convert(1).
#
-# $Id: eqn2graph.sh,v 1.6 2008/09/29 00:53:29 esr Exp $
+# $Id: eqn2graph.sh,v 1.7 2010/02/25 20:17:13 wl Exp $
#
groff_opts=""
convert_opts=""
@@ -75,7 +75,7 @@ if test -z "$tmp"; then
{ (exit 1); exit 1; }
fi
-trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 2 15
+trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' EXIT INT TERM
# Here goes:
# 1. Add .EQ/.EN.