diff options
author | Allan McRae <allan@archlinux.org> | 2009-07-04 01:52:28 +1000 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2009-07-10 16:29:58 +1000 |
commit | 621aa26e26fcf578221051e896d6440a0095b8a3 (patch) | |
tree | 59a22d9d8fe7d19e865d70e2570d5c26331ff064 /doc | |
parent | b312c820c8c8ed98a8b8f927b948bca8a3a22632 (diff) | |
download | 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 'doc')
0 files changed, 0 insertions, 0 deletions