[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible: also use proper pkg name in subject of mails

Holger Levsen holger at moszumanska.debian.org
Fri Oct 9 09:49:13 UTC 2015


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 afc3cd5b9911cd26d78b4115e94cc8480d74eb25
Author: Holger Levsen <holger at layer-acht.org>
Date:   Fri Oct 9 11:48:26 2015 +0200

    reproducible: also use proper pkg name in subject of mails
---
 bin/reproducible_maintenance.sh | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/bin/reproducible_maintenance.sh b/bin/reproducible_maintenance.sh
index 9ae63e6..6dbc1b8 100755
--- a/bin/reproducible_maintenance.sh
+++ b/bin/reproducible_maintenance.sh
@@ -347,10 +347,11 @@ if [ "$HOSTNAME" = "$MAINNODE" ] && [ $(date -u +%H) -eq 0 ]  ; then
 	cd /srv/reproducible-results/notification-emails
 	for NOTE in $(find . -type f) ; do
 			TMPFILE=$(mktemp --tmpdir=$TEMPDIR maintenance-XXXXXXXXXXXX)
+			PKG=$(basename $NOTE)
 			mv $NOTE $TMPFILE
-			cat $TMPFILE | mail -s "reproducible.debian.net status changes for $NOTE" \
+			cat $TMPFILE | mail -s "reproducible.debian.net status changes for $PKG" \
 				-a "From: Reproducible builds folks <reproducible-builds at lists.alioth.debian.org>" \
-				 $(basename $NOTE)@packages.debian.org
+				 $PKG at packages.debian.org
 			rm -f $TMPFILE
 	done
 fi

-- 
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