1
1

Have create failure e-mails say what base version failed.

This commit was SVN r19050.
Этот коммит содержится в:
Tim Mattox 2008-07-26 13:31:06 +00:00
родитель 78b8bac900
Коммит 8753064190

Просмотреть файл

@ -23,6 +23,7 @@
# $2: e-mail address for destination # $2: e-mail address for destination
# $3: SVN root # $3: SVN root
# $4: dest dir # $4: dest dir
# $5: version string for error e-mails, eg. trunk, v1.2, etc. (optional)
# #
scratch_root="$1" scratch_root="$1"
@ -56,6 +57,15 @@ if test -z "$scratch_root" -o -z "$email" -o -z "$svnroot" \
exit 1 exit 1
fi fi
# Get a version string to use if there is an error.
# It will get replaced upon succesful "make distcheck" with the real version.
# Extract (from the SVN root) a version string if one wasn't supplied.
if test -n "$5"; then
version="$5"
else
version=`basename $svnroot`
fi
# send a mail # send a mail
# should only be called after logdir is set # should only be called after logdir is set
send_error_mail() { send_error_mail() {