[pacman-dev] [PATCH] makepkg: exit on error during build() or package()

Allan McRae allan at archlinux.org
Fri Aug 28 23:18:36 EDT 2009


Henning Garus wrote:
> Set the ERR trap to abort upon encountering an error during the execution
> of a build or package function.
>
> Activate set -E, which lets functions inherit the ERR trap.
>
> Signed-off-by: Henning Garus <henning.garus at gmail.com>
>   

Did a lot of testing here and everything appears awesome.

Signed-off and on my working branch.


Allan





More information about the pacman-dev mailing list