summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-10-09 11:48:26 +0200
committerHolger Levsen <holger@layer-acht.org>2015-10-09 11:48:26 +0200
commitafc3cd5b9911cd26d78b4115e94cc8480d74eb25 (patch)
tree0066b75f4958317c94777f3d14f65b8f3b552339 /bin
parentd35b3512369698def5cdc93b13d0c06ecb3e4191 (diff)
downloadjenkins.debian.net-afc3cd5b9911cd26d78b4115e94cc8480d74eb25.tar.xz
reproducible: also use proper pkg name in subject of mails
Diffstat (limited to 'bin')
-rwxr-xr-xbin/reproducible_maintenance.sh5
1 files changed, 3 insertions, 2 deletions
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 <reproducible-builds@lists.alioth.debian.org>" \
- $(basename $NOTE)@packages.debian.org
+ $PKG@packages.debian.org
rm -f $TMPFILE
done
fi