Date: Wed, 6 Nov 2002 11:15:53 +0900 (JST) From: NAKAJI Hiroyuki <nakaji@jp.freebsd.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: gnu/44984: Send-pr can use environmental variable $FROM or $PRFROM Message-ID: <200211060215.gA62Frod034247@boggy.acest.tutrp.tut.ac.jp>
next in thread | raw e-mail | index | archive | help
>Number: 44984 >Category: gnu >Synopsis: Send-pr can use environmental variable $FROM or $PRFROM >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Nov 05 18:20:00 PST 2002 >Closed-Date: >Last-Modified: >Originator: NAKAJI Hiroyuki >Release: FreeBSD 5.0-CURRENT i386 >Organization: >Environment: System: FreeBSD boggy.acest.tutrp.tut.ac.jp 5.0-CURRENT FreeBSD 5.0-CURRENT #16: Fri Oct 18 11:24:47 JST 2002 root@boggy.acest.tutrp.tut.ac.jp:/usr/obj/usr/src/sys/NAKAJI i386 >Description: Send-pr should use valid email addresses in From: and Reply-To: headers. It is not good that an environmental variable REPLY_TO is ready for Reply-To but no variable is available for From. >How-To-Repeat: >Fix: Index: send-pr.sh =================================================================== RCS file: /home/ncvs/src/gnu/usr.bin/send-pr/send-pr.sh,v retrieving revision 1.30 diff -u -r1.30 send-pr.sh --- send-pr.sh 9 Mar 2002 04:29:00 -0000 1.30 +++ send-pr.sh 6 Nov 2002 01:46:48 -0000 @@ -99,7 +99,7 @@ rm -f $PTEMP fi -FROM="$ORIGINATOR <$LOGNAME>" +FROM="$ORIGINATOR <${FROM:-${PRFROM:-$LOGNAME}}>" REPLY_TO="$ORIGINATOR <${REPLY_TO:-${REPLYTO:-$LOGNAME}}>" if [ -n "$ORGANIZATION" ]; then >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200211060215.gA62Frod034247>