diff options
author | Andrew Fyfe <andrew@neptune-one.net> | 2007-06-03 01:59:54 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2007-06-03 22:19:52 -0400 |
commit | b69edc1c3532816576198995675dd6ad53df74df (patch) | |
tree | c54d9f60160629fe6eb9c0f88a9746fd4bc30a8f /pactest/pactest.py | |
parent | 76fd85450e2c6efca8e423f63d4740552e33544e (diff) | |
download | pacman-b69edc1c3532816576198995675dd6ad53df74df.tar.xz |
scripts/makepkg.in: Improve error handling and clean up on exit.
* makepkg now runs with errexit (exit on syntax error) enabled
for the whole script.
* Removed unneeded setting of errexit around build().
* Added bash traps to catch TERM HUP INT signals.
* Added trap to catch unhandled/unknown errors.
* Added trap to call clean_up() when the script exits.
* Moved call to remove_deps() into clean_up().
* Moved -c/--clean code into clean_up().
Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'pactest/pactest.py')
0 files changed, 0 insertions, 0 deletions