Commit 93bb9ff0 authored by Mans Rullgard's avatar Mans Rullgard

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>
parent dccbd97d
......@@ -1810,7 +1810,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