Skip to content

Commit 27ceef4

Browse files
committed
Send mail from mkrelease signed by running user
- Legacy-Id: 18771
1 parent 2347daf commit 27ceef4

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

bin/mkrelease

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,9 @@ if [ $# -lt $ARGMIN ]; then
138138
die "$# arguments found, $ARGMIN required"
139139
fi
140140

141+
by=$(getent passwd $(whoami) | cut -d ':' -f 5 | tr -d ',')
142+
[ -z "$by" ] && die "Can't determine the real name of the user running this script"
143+
141144
VER=$1
142145

143146
REPO=$(svn info | grep "^Repository Root:" | awk '{ print $3 }')
@@ -326,7 +329,7 @@ For development, copy the new development version instead:
326329
327330
Regards,
328331
329-
Henrik
332+
$by
330333
(via the mkrelease script)
331334
" > ~/src/db/mail/release-mail-v$VER.txt
332335

0 commit comments

Comments
 (0)