summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/sync.h
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2010-06-23 05:16:36 +0200
committerAllan McRae <allan@archlinux.org>2010-06-23 05:32:21 +0200
commit07a9effdd06345d09f09cdc92e23c937d8fa94b5 (patch)
treeace80ca576e2390dfbe5562491f144b86f10bc05 /lib/libalpm/sync.h
parent708f186f98a0c2094225aa94ac8a139ac3a9163e (diff)
downloadpacman-07a9effdd06345d09f09cdc92e23c937d8fa94b5.tar.gz
pacman-07a9effdd06345d09f09cdc92e23c937d8fa94b5.tar.xz
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>
Diffstat (limited to 'lib/libalpm/sync.h')
0 files changed, 0 insertions, 0 deletions