summaryrefslogtreecommitdiffstats
path: root/autoclean.sh
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2009-07-03 17:52:28 +0200
committerAllan McRae <allan@archlinux.org>2009-07-10 08:29:58 +0200
commit621aa26e26fcf578221051e896d6440a0095b8a3 (patch)
tree59a22d9d8fe7d19e865d70e2570d5c26331ff064 /autoclean.sh
parentb312c820c8c8ed98a8b8f927b948bca8a3a22632 (diff)
downloadpacman-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 'autoclean.sh')
0 files changed, 0 insertions, 0 deletions