Updated script again

This commit is contained in:
pagefault
2003-07-03 20:32:08 +00:00
parent 5481706079
commit caad0d6eab

View File

@@ -34,17 +34,3 @@ else
mv $tmpfile /tmp/lastlog-$projectname
fi
if [ -e /tmp/lastlog-$projectname ]; then
if ! diff /tmp/lastloga-$projectname $tmpfilea &>/dev/null; then
# there are differences, so this is a different commit
cat $tmpfilea | /usr/sbin/sendmail -t
mv $tmpfilea /tmp/lastloga-$projectname
else
# it's just cvs spamming us from another directory
rm $tmpfilea
fi
else
cat $tmpfilea | /usr/sbin/sendmail -t
mv $tmpfilea /tmp/lastloga-$projectname
fi