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:
Rodney W. Grimes 1993-08-10 11:35:46 +00:00
parent 6ee39ff534
commit ae253c20de
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=274

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 ""