summaryrefslogtreecommitdiff
path: root/lib/libalpm/alpm.c
diff options
context:
space:
mode:
authorAndrew Fyfe <andrew@neptune-one.net>2007-06-03 01:59:54 +0100
committerDan McGee <dan@archlinux.org>2007-06-03 22:19:52 -0400
commitb69edc1c3532816576198995675dd6ad53df74df (patch)
treec54d9f60160629fe6eb9c0f88a9746fd4bc30a8f /lib/libalpm/alpm.c
parent76fd85450e2c6efca8e423f63d4740552e33544e (diff)
downloadpacman-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 'lib/libalpm/alpm.c')
0 files changed, 0 insertions, 0 deletions