mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-07-12 08:09:15 +08:00
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:
1
configure
vendored
1
configure
vendored
@ -1810,7 +1810,6 @@ tmpfile(){
|
|||||||
}
|
}
|
||||||
|
|
||||||
trap 'rm -f -- $TMPFILES' EXIT
|
trap 'rm -f -- $TMPFILES' EXIT
|
||||||
trap exit HUP INT TERM
|
|
||||||
|
|
||||||
tmpfile TMPC .c
|
tmpfile TMPC .c
|
||||||
tmpfile TMPE $EXESUF
|
tmpfile TMPE $EXESUF
|
||||||
|
Reference in New Issue
Block a user