-entries=`dirname $1`/CVS/Entries
-if [ ! -f $entries ]; then
- echo "CVS entries file \"$entries\" not found." >&2
- exit 3
-fi
-
-# we look for -kb in the last field, optionally followed by tag name
-re="^/`basename $1`/.*/-kb/\(T[^/]*\)\{0,1\}$"
-if grep -q "$re" $entries; then
- exit 1
-fi