From ede40cdc4102630a70fe96a9fd1730dc94ece915 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 7 Mar 2014 11:12:52 +0100 Subject: [PATCH] hooks/do-fetch/00-distfiles: error out if distfiles aren't verified (found by Gottox). --- common/hooks/do-fetch/00-distfiles.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/common/hooks/do-fetch/00-distfiles.sh b/common/hooks/do-fetch/00-distfiles.sh index 0be4ab71e6..1bbb97298d 100644 --- a/common/hooks/do-fetch/00-distfiles.sh +++ b/common/hooks/do-fetch/00-distfiles.sh @@ -102,4 +102,8 @@ hook() { fi dfcount=$(($dfcount + 1)) done + + if [ "$rval" -ne 0 ]; then + msg_error "$pkgver: couldn't verify distfiles, exiting...\n" + fi }