From afc3cd5b9911cd26d78b4115e94cc8480d74eb25 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Fri, 9 Oct 2015 11:48:26 +0200 Subject: reproducible: also use proper pkg name in subject of mails --- bin/reproducible_maintenance.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'bin') diff --git a/bin/reproducible_maintenance.sh b/bin/reproducible_maintenance.sh index 9ae63e6e..6dbc1b82 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 " \ - $(basename $NOTE)@packages.debian.org + $PKG@packages.debian.org rm -f $TMPFILE done fi -- cgit v1.2.3-70-g09d2