summaryrefslogtreecommitdiff
path: root/gzexe.in
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2006-12-08 18:45:37 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2006-12-08 18:45:37 +0000
commit7d7cdcdc78afeb90614739cc35390623eb6b4b8e (patch)
treedbe0bcaee3a9a4420d9c35cffc51510157b1977e /gzexe.in
parent61ee774f662d8d790bcdc037086776c23ca2c70a (diff)
downloadgzip-7d7cdcdc78afeb90614739cc35390623eb6b4b8e.tar.gz
* gzexe.in: Work around FreeBSD shell trap bug.
* gzip.1: Fix typo. * doc/gzip.texi: Likewise.
Diffstat (limited to 'gzexe.in')
-rw-r--r--gzexe.in6
1 files changed, 2 insertions, 4 deletions
diff --git a/gzexe.in b/gzexe.in
index 139ec61..ed9ac71 100644
--- a/gzexe.in
+++ b/gzexe.in
@@ -74,8 +74,7 @@ Try \`$0 --help' for more information."
fi
tmp=
-trap '
- res=$?
+trap 'res=$?
test -n "$tmp" && rm -f "$tmp"
(exit $res); exit $res
' 0 1 2 3 5 10 13 15
@@ -145,8 +144,7 @@ umask=`umask`
umask 77
gztmpdir=
-trap '
- res=$?
+trap 'res=$?
test -n "$gztmpdir" && rm -fr "$gztmpdir"
(exit $res); exit $res
' 0 1 2 3 5 10 13 15