diff options
author | Dave Reisner <dreisner@archlinux.org> | 2012-03-03 01:25:15 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2012-03-09 01:01:53 +0100 |
commit | 1a8c3e52d70bfa21ba108aa77179adf90401949d (patch) | |
tree | 9ada8dd083b545606fb60449914e8e4194b710bd /README | |
parent | 1fe6cabc4d3868510427e32b60c9aa869886acab (diff) | |
download | pacman-1a8c3e52d70bfa21ba108aa77179adf90401949d.tar.gz pacman-1a8c3e52d70bfa21ba108aa77179adf90401949d.tar.xz |
makepkg: exit via default signal handler in trap_exit
Similar to how we manage receipt of SIGINT in pacman's internal
downloader, catch the signal and invoke our own trap handler before
unsetting it and calling the default. This requires a slight
modification to the arguments passed to trap_exit so we can pass the
raised signal to trap_exit (note that we substitue USR1 for ERR since
the latter is unique to bash).
Fixes FS#28491.
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions