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@mansr.com>
This commit is contained in:
parent
dccbd97d72
commit
93bb9ff08e
1 changed files with 0 additions and 1 deletions
1
configure
vendored
1
configure
vendored
|
|
@ -1810,7 +1810,6 @@ tmpfile(){
|
|||
}
|
||||
|
||||
trap 'rm -f -- $TMPFILES' EXIT
|
||||
trap exit HUP INT TERM
|
||||
|
||||
tmpfile TMPC .c
|
||||
tmpfile TMPE $EXESUF
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue