makepkg: perform all sanity checks before erroring out
commita88cb03a58909304603a794e42070656fca6b626
authorDan McGee <dan@archlinux.org>
Mon, 10 Jan 2011 19:56:27 +0000 (10 13:56 -0600)
committerDan McGee <dan@archlinux.org>
Fri, 14 Jan 2011 06:25:16 +0000 (14 00:25 -0600)
tree71e4adb75568f0dd73738fb21a7edde0b2dc5b44
parent665528d7bac99228849d1162f78c0817bc619eee
makepkg: perform all sanity checks before erroring out

It is pretty annoying to get one, fix it, and then get another. We should be
able to continue on through most of the sanity checks in one go so the user
gets all the error messages at once.

Also ensure $pkgbase is defined by the time we call this function;
previously we printed nothing where a package name should have been due to
this oversight.

Signed-off-by: Dan McGee <dan@archlinux.org>
scripts/makepkg.sh.in