Updated script again
This commit is contained in:
@@ -34,17 +34,3 @@ else
|
|||||||
mv $tmpfile /tmp/lastlog-$projectname
|
mv $tmpfile /tmp/lastlog-$projectname
|
||||||
fi
|
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
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user