Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Aug 1996 21:05:17 -0700
From:      Josh MacDonald <jmacd@CS.Berkeley.EDU>
To:        "Jordan K. Hubbard" <jkh@time.cdrom.com>
Cc:        karl@mcs.net, freebsd-ports@freebsd.org
Subject:   Re: Ports explosion 
Message-ID:  <199608130405.VAA23872@paris.CS.Berkeley.EDU>
In-Reply-To: Your message of "Mon, 12 Aug 1996 20:15:17 PDT." <3619.839906117@time.cdrom.com> 

next in thread | previous in thread | raw e-mail | index | archive | help

May I suggest:

if [ -d patches -a "`echo patches/patch-*`" != "patches/patch-*" ]; then 
# do stuff
fi

instead of the current [ -d patches ]?

-josh

> > Actually, the patches directory is not supposed to be there.  My guess
> > is that you did a "cvs update" without the "-P" (prune) option.
> 
> Actually, that's because he first checked it out without pruning (Karl
> needs to read up on CVS a little more).  I noticed that in his
> example.
> 
> Karl, watch closely.. :-)
> 
> jkh@time-> cvs co zip
> cvs checkout: Updating zip
> U zip/Makefile
> cvs checkout: Updating zip/files
> U zip/files/md5
> cvs checkout: Updating zip/patches
> cvs checkout: Updating zip/pkg
> U zip/pkg/COMMENT
> U zip/pkg/DESCR
> U zip/pkg/PLIST
> jkh@time-> ls zip/patches
> CVS
> jkh@time-> cvs release -d zip
> You have [0] altered files in this repository.
> Are you sure you want to release (and delete) module `zip': y
> jkh@time-> cvs co -P zip
> cvs checkout: Updating zip
> U zip/Makefile
> cvs checkout: Updating zip/files
> U zip/files/md5
> cvs checkout: Updating zip/patches
> cvs checkout: Updating zip/pkg
> U zip/pkg/COMMENT
> U zip/pkg/DESCR
> U zip/pkg/PLIST
> jkh@time-> ls zip/patches
> ls: zip/patches: No such file or directory
> 
> 					Jordan



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199608130405.VAA23872>