[pacman-dev] [PATCH] makepkg: prevent error trap activation in bash-3.2

Allan McRae allan at archlinux.org
Tue Jun 22 23:51:47 EDT 2010


On 23/06/10 13:24, Andres P wrote:
> 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?
>

On my working-maint branch, which will be pulled to maint and the merged 
into master.  The patches you want to rebase are destined for then 
master branch and need to be rebased on this patch and those already on 
master.  So I would wait the couple of days before Dan does all that 
merging and pushes it to the main repo.

Allan


More information about the pacman-dev mailing list