[FFmpeg-cvslog] configure: simplify exit traps

Mans Rullgard git
Sun Jan 23 21:01:53 CET 2011


ffmpeg | branch: master | Mans Rullgard <mans at mansr.com> | Fri Jan 21 19:05:07 2011 +0000| [3df02975674af91a726a6ac5e5da01f15d1f85ad] | committer: Michael Niedermayer

configure: simplify exit traps

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 at mansr.com>
(cherry picked from commit 93bb9ff08e533e30ceec2fa53a25483faf63f633)

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=3df02975674af91a726a6ac5e5da01f15d1f85ad
---

 configure |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/configure b/configure
index 0891228..d6694c7 100755
--- 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




More information about the ffmpeg-cvslog mailing list