summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/send-pr/send-pr.sh
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/usr.bin/send-pr/send-pr.sh')
-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 9a79a24..309043a 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`"
OpenPOWER on IntegriCloud