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

Allan McRae allan at archlinux.org
Sun Aug 23 06:56:50 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.
>
>
>   
<snip>

Just a quick query...  does this work with split packages and variables 
defined in the package_foo() functions, especially when using the -L 
flag?  I am too busy to test at the moment, but that has been the main 
issue in getting this working in the past.

Allan





More information about the pacman-dev mailing list