diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2009-06-07 13:05:42 +0200 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2009-06-07 13:05:42 +0200 |
commit | 5ece570ba9101ef7fc38dd145bd96053cb2cb21f (patch) | |
tree | 6a6fb3f50da9014ce24ca8b9c8b0b828b40a4cb2 /include | |
parent | 9ed102115fa6cc661c8d7c7565f426a87ff0aeae (diff) |
bootstrap: Trap errors
Diffstat (limited to 'include')
-rwxr-xr-x | include/bootstrap | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/bootstrap b/include/bootstrap index e1a41f6..77bbf79 100755 --- a/include/bootstrap +++ b/include/bootstrap @@ -6,6 +6,7 @@ # and also have an excuse for using zsh here :P setopt err_exit +trap "print -P '\n%N:%i: bootstrap failed ($?)'" ZERR typeset -i rcempty=0 typeset PKG_ROOT PKG_DIR default_path='~/packages' : ${XDG_CONFIG_HOME=$HOME/.config} |