makepkg: do not ignore errors from pacman when checking deps
commit579533d1a07808c3e0458d6042d6039e56c38de2
authorAndres P <aepd87@gmail.com>
Fri, 25 Jun 2010 23:16:37 +0000 (25 18:46 -0430)
committerDan McGee <dan@archlinux.org>
Mon, 13 Dec 2010 02:24:59 +0000 (12 20:24 -0600)
tree08d39f3ca313c1ec50e308fc1100033df7ca7717
parent330951200c8a0bb90937e0578510a41220154726
makepkg: do not ignore errors from pacman when checking deps

As check_deps is run in a subshell, exit had the same meaning as return.
Since the intention is to halt makepkg when pacman throws an error other than
127, the enclosing function has to handle error control instead.

Fixes FS#19840

Signed-off-by: Andres P <aepd87@gmail.com>
Signed-off-by: Allan McRae <allan@archlinux.org>
Signed-off-by: Dan McGee <dan@archlinux.org>
scripts/makepkg.sh.in