Subject: Re: grep: is a directory
To: Julian C. Dunn <lists@aquezada.com>
From: Ingolf Steinbach <ingolf.steinbach@jena-optronik.de>
List: netbsd-help
Date: 07/02/2003 09:21:00
Julian C. Dunn wrote:
> % ./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 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,
Did you also look in your object tree? Check if there is a
/home/staff/jdunn/devel/netbsd/obj/gnu/usr.bin/grep/grep
directory.
Good luck!
Ingolf