Subject: Re: use of [ -e ${file} ]
To: None <tech-pkg@NetBSD.org>
From: Klaus Heinz <k.heinz.mai.vier@onlinehome.de>
List: tech-pkg
Date: 05/23/2004 16:21:35
Georg Schwarz wrote:
> > On Sat, 22 May 2004, Georg Schwarz wrote:
> > 
> > Also, notice that mk/bsd.pkg.mk uses test (or [) -e several times.
> 
> as does mk/buildlink2/fake-la
> 
> > 
> > And I'd assume that many packages have configuration or build scripts that
> > also use it.

I suggest to use '-r' instead of '-e' for the general case. About a week
ago I made a sweep through pkgsrc/*/*/Makefile* and changed the (few)
files accordingly.

If there are no objections I will also take a look at the *mk files.

ciao
     Klaus