summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorDima Dorfman <dd@FreeBSD.org>2001-06-03 02:40:37 +0000
committerDima Dorfman <dd@FreeBSD.org>2001-06-03 02:40:37 +0000
commit5544e8e700a8227c68b71eef80e079af940a6bc8 (patch)
treef40f1e24f546ca38c8aaa0be59e9aa23c2bf3d57 /gnu
parentc0b824f97d4d95737029c1b735f721dc4bd003bb (diff)
Notes
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/send-pr/send-pr.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/gnu/usr.bin/send-pr/send-pr.sh b/gnu/usr.bin/send-pr/send-pr.sh
index 9a79a24dbc07..309043af3cbb 100644
--- a/gnu/usr.bin/send-pr/send-pr.sh
+++ b/gnu/usr.bin/send-pr/send-pr.sh
@@ -85,9 +85,6 @@ if [ "$LOGNAME" = "" ]; then
fi
fi
-FROM="$LOGNAME"
-REPLY_TO="${REPLY_TO:-${REPLYTO:-$LOGNAME}}"
-
# Find out the name of the originator of this PR.
if [ -n "$NAME" ]; then
ORIGINATOR="$NAME"
@@ -102,6 +99,9 @@ else
rm -f $PTEMP
fi
+FROM="$ORIGINATOR <$LOGNAME>"
+REPLY_TO="$ORIGINATOR <${REPLY_TO:-${REPLYTO:-$LOGNAME}}>"
+
if [ -n "$ORGANIZATION" ]; then
if [ -f "$ORGANIZATION" ]; then
ORGANIZATION="`cat $ORGANIZATION`"