makepkg automatically exits on any error in the build() or package()
functions.
Allan
09-18-2010, 01:33 AM
Steve Holmes
"$startdir/src", "$startdir/pkg" and "|| return 1" in official packages
On Sat, Sep 18, 2010 at 12:43:25AM +1000, Allan McRae wrote:
> makepkg automatically exits on any error in the build() or package()
> functions.
This is interesting to know; I had no idea. I learn to build my
PKGBUILDs from other live examples as well as the .proto versions in
the shared pacman directory of example PKGBUILDs. I haven't looked
lately but hope these example scripts are updated accordingly. I plan
to update my personal PKGBUILDs and the ones I maintain in AUR.