makepkg: unset errexit when sourcing /etc/profile
commitc736a12e86b826f3079f3cccde86d497528f85f3
authorDave Reisner <dreisner@archlinux.org>
Sun, 11 Sep 2011 03:21:22 +0000 (10 23:21 -0400)
committerAllan McRae <allan@archlinux.org>
Sun, 11 Sep 2011 03:47:07 +0000 (11 13:47 +1000)
tree1912678ef26a48ecc6ae8b8e0c3ea3ce33801d2b
parent7f1235ccbc3a81a4f8a50de96cea512353d6773e
makepkg: unset errexit when sourcing /etc/profile

This is a fix for a bash3 specific bug, where a file sourced by
/etc/profile would exit non-zero and make its way back up to makepkg,
forcing it to exit after package installation. Along with unsetting the
ERR handler, temporarily unset errexit to avoid this.

Signed-off-by: Dave Reisner <dreisner@archlinux.org>
scripts/makepkg.sh.in