svn commit: r392248 - svnadmin/hooks/scripts
Glen Barber
gjb at FreeBSD.org
Wed Jul 15 23:46:56 UTC 2015
Author: gjb
Date: Wed Jul 15 23:46:54 2015
New Revision: 392248
URL: https://svnweb.freebsd.org/changeset/ports/392248
Log:
Fix the mfh.sh commit hook to properly set the From header
after the svn -> svnmir.geo switchover.
Approved by: portmgr (implicit), admins (peter)
Sponsored by: The FreeBSD Foundation
Modified:
svnadmin/hooks/scripts/mfh.sh
Modified: svnadmin/hooks/scripts/mfh.sh
==============================================================================
--- svnadmin/hooks/scripts/mfh.sh Wed Jul 15 23:38:49 2015 (r392247)
+++ svnadmin/hooks/scripts/mfh.sh Wed Jul 15 23:46:54 2015 (r392248)
@@ -14,7 +14,10 @@ BRANCH_LINE=$(echo "$MFH_LINE" | sed -e
BRANCH=$(echo "${BRANCH_LINE}" | sed -Ee "s|([[:digit:]]+Q[[:digit:]]+)(.*)|\1|")
BRANCH_DESC=${BRANCH_LINE##${BRANCH}}
-echo "
+echo "From: ${AUTHOR}@FreeBSD.org
+To: portmgr at FreeBSD.org, ports-secteam at FreeBSD.org
+Subject: MFH request r$REV to $BRANCH${BRANCH_DESC}
+
Hello,
Request from $AUTHOR to merge r$REV to branch $BRANCH
@@ -35,6 +38,6 @@ diff:
----------
$DIFF
----------
-" | mail -s "MFH request r$REV to $BRANCH${BRANCH_DESC}" portmgr at FreeBSD.org ports-secteam at FreeBSD.org
+" | /usr/bin/sendmail -oi -f $AUTHOR at freebsd.org portmgr at FreeBSD.org ports-secteam at FreeBSD.org
More information about the svn-ports-all
mailing list