Disabled the scan for SCCS checked out files since it was broken and

caused error messages to be mailed, and FreeBSD does NOT have SCCS,
we use CVS!
This commit is contained in:
rgrimes 1993-08-10 11:35:46 +00:00
parent 151a20f2d9
commit e02e22db3a

View File

@ -16,25 +16,25 @@ echo "Subject: $host weekly run output"
# see if /usr/src exists and is local
# before looking there for checked-out files
if [ -d /usr/src -a \
X"`find -f /usr/src ! -fstype local -prune -or -type d -print -prune`" != X ];
then
echo "looking for checked out files:"
TDIR=/tmp/_checkout$$
mkdir $TDIR
for file in `find -f /usr/src ! -fstype local -prune -or \
-name 'p.*' -print | egrep 'SCCS/p\.'`; do
owner=`awk '{ print $3 }' $file`
echo "$owner $file"
echo $file >> $TDIR/$owner
done | sed -e 's,SCCS/p.,,'
for file in $TDIR/*; do
sed -e 's,SCCS/p.,,' $file | \
Mail -s 'checked out files' `basename $file`
done
rm -rf $TDIR
fi
#if [ -d /usr/src -a \
# X"`find -f /usr/src ! -fstype local -prune -or -type d -print -prune`" != X ];
#then
# echo "looking for checked out files:"
# TDIR=/tmp/_checkout$$
#
# mkdir $TDIR
# for file in `find -f /usr/src ! -fstype local -prune -or \
# -name 'p.*' -print | egrep 'SCCS/p\.'`; do
# owner=`awk '{ print $3 }' $file`
# echo "$owner $file"
# echo $file >> $TDIR/$owner
# done | sed -e 's,SCCS/p.,,'
# for file in $TDIR/*; do
# sed -e 's,SCCS/p.,,' $file | \
# Mail -s 'checked out files' `basename $file`
# done
# rm -rf $TDIR
#fi
if [ -f /usr/lib/uucp/clean.weekly ]; then
echo ""