makepkg: prevent error trap activation in bash-3.2
commit07a9effdd06345d09f09cdc92e23c937d8fa94b5
authorAllan McRae <allan@archlinux.org>
Wed, 23 Jun 2010 03:16:36 +0000 (23 13:16 +1000)
committerAllan McRae <allan@archlinux.org>
Wed, 23 Jun 2010 03:32:21 +0000 (23 13:32 +1000)
treeace80ca576e2390dfbe5562491f144b86f10bc05
parent708f186f98a0c2094225aa94ac8a139ac3a9163e
makepkg: prevent error trap activation in bash-3.2

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@archlinux.org>
scripts/makepkg.sh.in