Red Hat Bugzilla – Bug 105594
makewhatis chokes when it sees a directory under manpath
Last modified: 2007-03-27 00:10:17 EDT
Description of problem:
We use RCS to manage our software revision and thus there is
an RCS directory under our /project/man/man1 directory.
When we run makewhatis against /project/man, makewhatis only
processes the result from the find command up to the RCS
directory, then exits. Can makewhatis be modified to ignore
Here is the result from the makewhatis cron job:
awk: cmd. line:10: (FILENAME=- FNR=322) fatal: file `./RCS' is a directory
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Incomplete whatis database.
find fixed so that only regular files (or symlinks to regular files) fitting the
pattern of "*.[1-9nl]" or "*.[1-9nl].gz" will be added to the whatis db