From ae253c20de3dd023694e578f900200488f293e34 Mon Sep 17 00:00:00 2001 From: "Rodney W. Grimes" Date: Tue, 10 Aug 1993 11:35:46 +0000 Subject: [PATCH] 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! --- etc/weekly | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/etc/weekly b/etc/weekly index 65c08d9b8cbf..bf7c07562095 100644 --- a/etc/weekly +++ b/etc/weekly @@ -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 ""