diff options
author | Allan McRae <allan@archlinux.org> | 2009-07-03 17:52:28 +0200 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2009-07-10 08:29:58 +0200 |
commit | 621aa26e26fcf578221051e896d6440a0095b8a3 (patch) | |
tree | 59a22d9d8fe7d19e865d70e2570d5c26331ff064 /pactest/tests/sync001.py | |
parent | b312c820c8c8ed98a8b8f927b948bca8a3a22632 (diff) | |
download | pacman-621aa26e26fcf578221051e896d6440a0095b8a3.tar.gz pacman-621aa26e26fcf578221051e896d6440a0095b8a3.tar.xz |
makepkg: Exit on failure within build() or package() functions
Errors in build() functions were only fatal, if "--log" was enabled. Errors in
package() functions were never fatal. Piping these functions through "cat -"
triggers error trapping. This prevents the need for "|| return 1" usage in
PKGBUILDs.
Original-patch-by: Juergen Hoetzel <juergen@archlinux.org>
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'pactest/tests/sync001.py')
0 files changed, 0 insertions, 0 deletions