Subject: Re: toolchain/18863: build.sh fails on freebsd with "rm: grep: is a directory"
To: None <jcline@globespanvirata.com>
From: Lubomir Sedlacik <salo@Xtrmntr.org>
List: netbsd-bugs
Date: 10/30/2002 18:52:59
hi,

On Wed, Oct 30, 2002 at 09:29:21AM -0800, jcline@globespanvirata.com wrote:
> 
> >Synopsis:       build.sh fails on freebsd with "rm: grep: is a directory"
>
> 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  
> rm -f a.out [Ee]rrs mklog core *.core .gdbinit grep
> rm: grep: is a directory
> *** Error code 1
> 
> Stop.
> nbmake: stopped in /usr/home/jcline/NetBSD-source/src/gnu/usr.bin/grep
> *** Error code 1

did you use -P flag for cvs checkout?

       -P     Prune (remove) directories  that  are  empty  after
              being  updated,  on checkout, or update.  Normally,
              an empty directory (one that is void  of  revision-
              controlled  files)  is  left  alone.  Specifying -P
              will cause these directories to be silently removed
              from  your  checked-out  sources.   This  does  not
              remove the directory from the repository, only from
              your  checked  out  copy.  Note that this option is
              implied by the -r or -D  options  of  checkout  and
              export.

regards,

-- 
-- Lubomir Sedlacik <salo@Xtrmntr.org>   ASCII Ribbon campaign against  /"\ --
--                  <salo@silcnet.org>   e-mail in gratuitous HTML and  \ / --
--                                       Microsoft proprietary formats   X  --
-- PGPkey: http://Xtrmntr.org/salo.pgp                                  / \ --
-- Key Fingerprint: 75B2 2B96 CD75 0385 1C49  39B8 8B08 C30E 54BC 7263      --