Move geninteg block in makepkg before error checking
This pactch moves the generating of integrity checks to before any
error checking takes place in the PKGBUILD file. This allows integrity
generation to complete when unrelated errors exist in a PKGBUILD file
and allows the removal of multiple checks of the GENINTEG variable that
would otherwise be needed.
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in
index cc44c68..38b22a5 100644
--- a/scripts/makepkg.sh.in
+++ b/scripts/makepkg.sh.in
@@ -1187,8 +1187,7 @@ while true; do
done
if [ "$HOLDVER" = "1" -a "$FORCE_VER" != "" ]; then
- # The extra '--' is here to prevent gettext from thinking --holdver is
- # an option
+ # The ' ' is here to prevent gettext from thinking --holdver is an option
error "$(gettext "