1
1

Include the base version (trunk, v1.2, etc.) in the body of a

create failure e-mail as well as on the subject line.

This commit was SVN r19052.
Этот коммит содержится в:
Tim Mattox 2008-07-26 14:13:20 +00:00
родитель 7a4359b43f
Коммит 73b528b050

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

@ -81,11 +81,7 @@ send_error_mail() {
cat "$file" >> "$outfile" cat "$file" >> "$outfile"
fi fi
done done
if test -n "$version"; then Mail -s "=== CREATE FAILURE ($version) ===" "$email" < "$outfile"
Mail -s "=== CREATE FAILURE ($version) ===" "$email" < "$outfile"
else
Mail -s "=== CREATE FAILURE ===" "$email" < "$outfile"
fi
rm -f "$outfile" rm -f "$outfile"
} }
@ -119,7 +115,7 @@ do_command() {
if test "$st" != "0"; then if test "$st" != "0"; then
cat > "$logdir/15-error.txt" <<EOF cat > "$logdir/15-error.txt" <<EOF
ERROR: Command returned a non-zero exist status ERROR: Command returned a non-zero exist status ($version):
$cmd $cmd
Start time: $start_time Start time: $start_time