]> git.sesse.net Git - ffmpeg/commitdiff
configure: simplify exit traps
authorMans Rullgard <mans@mansr.com>
Fri, 21 Jan 2011 19:05:07 +0000 (19:05 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 23 Jan 2011 18:32:06 +0000 (19:32 +0100)
This does the same thing and also fixes the trapping in
some (possibly broken) shells.

Suggested by Michael Kostylev.

Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit 93bb9ff08e533e30ceec2fa53a25483faf63f633)

configure

index 08912283f202d0feee5ac02bb2762ce770942351..d6694c717a6198ab93dd1de238ef2a2554d58149 100755 (executable)
--- a/configure
+++ b/configure
@@ -1811,7 +1811,6 @@ tmpfile(){
 }
 
 trap 'rm -f -- $TMPFILES' EXIT
-trap exit HUP INT TERM
 
 tmpfile TMPC  .c
 tmpfile TMPE  $EXESUF