[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible Debian: count entries better

Holger Levsen holger at layer-acht.org
Sat Dec 10 00:47:49 UTC 2016


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch master
in repository jenkins.debian.net.

commit 81e9ec5b3227c90054417e2253d81856f6b8a108
Author: Holger Levsen <holger at layer-acht.org>
Date:   Sat Dec 10 01:47:44 2016 +0100

    reproducible Debian: count entries better
---
 bin/reproducible_maintenance.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/reproducible_maintenance.sh b/bin/reproducible_maintenance.sh
index f200125..d698421 100755
--- a/bin/reproducible_maintenance.sh
+++ b/bin/reproducible_maintenance.sh
@@ -408,7 +408,7 @@ if [ "$HOSTNAME" = "$MAINNODE" ] && [ $(date -u +%H) -eq 0 ]  ; then
 		if [ -s $PROBLEM ] ; then
 			TMPFILE=$(mktemp --tmpdir=$TEMPDIR maintenance-XXXXXXXXXXXX)
 			mv $PROBLEM $TMPFILE
-			( echo "A few entries per day are normal, a few dozens or hundreds probably not." ; echo ; echo "$(cat $TMPFILE | wc -l) lines." ; cat $TMPFILE ) | mail -s "$(basename $PROBLEM) found" qa-jenkins-scm at lists.alioth.debian.org
+			( echo "A few entries per day are normal, a few dozens or hundreds probably not." ; echo ; echo "$(grep -c https $TMPFILE || true) entries found." ; cat $TMPFILE ) | mail -s "$(basename $PROBLEM) found" qa-jenkins-scm at lists.alioth.debian.org
 			rm -f $TMPFILE
 		fi
 	done

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git



More information about the Qa-jenkins-scm mailing list