1
1

A few minor updates -- put in a placemarker where we want to "trim to

N snapshots"

This commit was SVN r1733.
Этот коммит содержится в:
Jeff Squyres 2004-07-15 11:36:17 +00:00
родитель 2b6f79d94f
Коммит 0be361cee0

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

@ -19,6 +19,16 @@ destdir="$4"
# debugging
debug=
# do you want a success mail?
want_success_mail=1
# how many snapshots to keep in the destdir?
max_snapshots=10
############################################################################
# Shouldn't need to change below this line
############################################################################
start_time="`date`"
# Sanity checks
@ -145,8 +155,12 @@ done
# remove temp dirs
rm -rf "$scratch_root/logs" "$scratch_root/ompi"
# trim the destdir to $max_snapshots
# JMS fill in here...
# send success mail
Mail -s "Success" "$email" <<EOF
if test "$want_success_mail" = "1"; then
Mail -s "Success" "$email" <<EOF
Creating nightly snapshot SVN tarball a success.
Start time: $start_time
@ -155,3 +169,4 @@ End time: `date`
Your friendly daemon,
Cyrador
EOF
fi