From 30accdad872e10d06312da3c9d4ccbe36e227762 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Thu, 1 Oct 2015 15:04:40 +0200 Subject: reproducible: disable mail notifications for testing --- bin/reproducible_build.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'bin') diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh index cd322b37..3f01c8a6 100755 --- a/bin/reproducible_build.sh +++ b/bin/reproducible_build.sh @@ -110,11 +110,12 @@ update_db_and_html() { fi fi fi - if [ "$OLD_STATUS" != "$STATUS" ] && [ "$NOTIFY_MAINTAINER" -eq 1 ] && \ + if [ "$SUITE" != "testing" ] && \ + [ "$OLD_STATUS" != "$STATUS" ] && [ "$NOTIFY_MAINTAINER" -eq 1 ] && \ [ "$OLD_STATUS" != "depwait" ] && [ "$STATUS" != "depwait" ] && \ [ "$OLD_STATUS" != "404" ] && [ "$STATUS" != "404" ]; then echo "More information on $REPRODUCIBLE_URL/$SUITE/$ARCH/$SRCPACKAGE, feel free to reply to this email to get more help." | \ - mail -s "$SRCPACKAGE changed in $SUITE: $OLD_STATUS -> $STATUS" \ + mail -s "$SRCPACKAGE changed in $SUITE/$ARCH: $OLD_STATUS -> $STATUS" \ -a "From: Reproducible builds folks " \ "$SRCPACKAGE@packages.debian.org" fi -- cgit v1.2.3-70-g09d2