Commit 3df02975 authored by Mans Rullgard's avatar Mans Rullgard Committed by 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: 's avatarMans Rullgard <mans@mansr.com>
(cherry picked from commit 93bb9ff0)
parent 6e89b612
......@@ -1811,7 +1811,6 @@ tmpfile(){
}
trap 'rm -f -- $TMPFILES' EXIT
trap exit HUP INT TERM
tmpfile TMPC .c
tmpfile TMPE $EXESUF
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment