[pacman-dev] [PATCH] makepkg: prevent error trap activation in bash-3.2
Andres P
aepd87 at gmail.com
Tue Jun 22 23:24:02 EDT 2010
On Tue, Jun 22, 2010 at 10:50 PM, Allan McRae <allan at archlinux.org> wrote:
> Running "pacman -T foo" is expected to return a non-zero value when
> "foo" is not installed. This sets of the error trap in bash-3.2 but
> not bash 4.x. Work around this by disabling the error trap around
> this pacman call as we are manually checking the return value anyway.
>
> Signed-off-by: Allan McRae <allan at archlinux.org>
What repo?
Andres P
More information about the pacman-dev
mailing list