Don't grep directories, since that breaks on NFS-mounted file systems.

This commit is contained in:
Per Bothner 1991-11-15 21:11:08 +00:00
parent eb68a3e41c
commit e11b54be24
1 changed files with 5 additions and 4 deletions

View File

@ -108,7 +108,8 @@ else
done
fi
if grep 'sanitize' * ; then
echo Some mentions of Sanitize are still left in the sources!
fi
for i in * ; do
if test ! -d $i && (grep sanitize $i > /dev/null) ; then
echo Some mentions of Sanitize are still left in $i!
fi
done