change the email subject

Signed-off-by: Dennis Gilmore <dennis@ausil.us>
This commit is contained in:
Dennis Gilmore 2016-02-28 22:26:45 -06:00
parent 6a498f572c
commit 2db6ecc7f5

View File

@ -18,7 +18,6 @@ GIT_BRANCH="master"
TMPDIR=`mktemp -d /tmp/$DIST.$DATE.XXXX` TMPDIR=`mktemp -d /tmp/$DIST.$DATE.XXXX`
MOCK="/usr/bin/mock" MOCK="/usr/bin/mock"
TOMAIL="devel@lists.fedoraproject.org test@lists.fedoraproject.org" TOMAIL="devel@lists.fedoraproject.org test@lists.fedoraproject.org"
SUBJECT='rawhide report: '$DATE' changes'
FROM="Fedora Rawhide Report <rawhide@fedoraproject.org>" FROM="Fedora Rawhide Report <rawhide@fedoraproject.org>"
RSYNCPREFIX="sudo -u ftpsync" RSYNCPREFIX="sudo -u ftpsync"
ATOMIC=$(mktemp -d /tmp/atomic.${DIST}.$DATE.XXXX) ATOMIC=$(mktemp -d /tmp/atomic.${DIST}.$DATE.XXXX)
@ -99,6 +98,7 @@ for dir in Cloud Labs ;
$RSYNCPREFIX rsync -avhH $TARGET_DIR/$NEWCOMPOSE_ID/compose/$dir/ /pub/alt/development/$DIST/$dir/ --link-dest=/pub/fedora/linux/development/$DIST/Everything/ --delete-after ; $RSYNCPREFIX rsync -avhH $TARGET_DIR/$NEWCOMPOSE_ID/compose/$dir/ /pub/alt/development/$DIST/$dir/ --link-dest=/pub/fedora/linux/development/$DIST/Everything/ --delete-after ;
done done
+SUBJECT='Fedora '$DIST' compose report: '$SHORTCOMPOSE_ID' changes'
if [ "$mail" = "0" ]; then if [ "$mail" = "0" ]; then
for tomail in "$(echo $TOMAIL)" ; do for tomail in "$(echo $TOMAIL)" ; do
cat $TARGET_DIR/$NEWCOMPOSE_ID/logs/*verbose | \ cat $TARGET_DIR/$NEWCOMPOSE_ID/logs/*verbose | \