Subject: grep: is a directory
To: None <netbsd-help@netbsd.org>
From: Julian C. Dunn <lists@aquezada.com>
List: netbsd-help
Date: 07/01/2003 11:02:02
[Before you hit reply and tell me to "cvs update -Pd", I've already done
that. I get the same results.]
It seems a ton of people have mentioned in the archives about the
dreaded "grep: is a directory" error. For those unfamiliar with the
problem:
% ./build.sh -m i386 -a sparc -T $HOME/devel/netbsd/tools -D
/home/staff/jdunn/devel/netbsd/destdir -O
/home/staff/jdunn/devel/netbsd/obj tools
.
.
.
cleandir ===> gnu/usr.bin/grep
rm -f grep.o dfa.o kwset.o obstack.o savedir.o getopt.o getopt1.o
search.o stpcpy.o regex.o grepmat.o grep.ln dfa.ln kwset.ln obstack.ln
savedir.ln getopt.ln getopt1.ln search.ln stpcpy.ln regex.ln grepmat.ln
rm -f grep.1 grep.info grep.cat1 grep.info
rm -f a.out [Ee]rrs mklog core *.core grep
rm: grep: is a directory
*** Error code 1
Stop.
I looked through the archives and I think I understand what others,
including Manuel, have said about the rationale "cvs update -Pd",
however this isn't the problem here because I've already DONE that
within my source tree.
Nowhere in the gnu/usr.bin/grep directory is there a nested grep
directory, so this "rm" must be looking somewhere else for a grep to
remove, and the only other "grep" directory I can think of is the
../../dist/grep directory. Could it be trying to remove that?
- Julian
--
[ Julian C. Dunn <jdunn@aquezada.com> * <julian@dreaming.org> ]
[ WWW: http://www.aquezada.com/staff/julian/ * PGP: 0xFDC205B9 ]
[ "sometimes you win, sometimes you lose / and most times ]
[ you choose between the two" - carole king, "sweet seasons" ]