Subject: Re: TEST -d vs TEST -f
To: Klaus Heinz <k.heinz.jul.vier@onlinehome.de>
From: Dave <dgriffi@cs.csubak.edu>
List: tech-pkg
Date: 07/06/2004 13:43:13
On Tue, 6 Jul 2004, Klaus Heinz wrote:

> Hi,
>
> is this test in revision 1.1474 of bsd.pkg.mk, line 2713
>
>   if (system("${TEST} -f ${PREFIX}/" $$0) == 0) {
>
> correct?
>
> I cannot imagine PREFIX ever being a file...

I've seen it happen because of bugs in scripts.


-- 
David Griffith
dgriffi@cs.csubak.edu