Subject: Re: Regexp with "exists" expression? (BSD make)
To: Alistair Crooks <agc@pkgsrc.org>
From: Juan RP <juan@netbsd.graffitipr.org>
List: tech-pkg
Date: 06/21/2004 10:07:07
--Signature=_Mon__21_Jun_2004_10_07_07_+0200_+x7.5Bjyq=4Kk4Q5
Content-Type: text/plain; charset=US-ASCII
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

On Mon, 21 Jun 2004 08:48:41 +0100
Alistair Crooks <agc@pkgsrc.org> wrote:

> I'd just add an "|| ${TRUE}" onto the end of this so that the shell
> command exits with a successful error code, otherwise there will be
> warnings every time the shell command is evaluated and the file does
> not exist (you'd probably be surprised how many times the evaluation
> takes place).
> 
> You'd also better make it a shell glob expression, rather than a
> regexp, BTW.

Thanks, I used a shell glob expression finally.

-- 
	Juan RP <juan@netbsd.graffitipr.org>

--Signature=_Mon__21_Jun_2004_10_07_07_+0200_+x7.5Bjyq=4Kk4Q5
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (NetBSD)

iD8DBQFA1pcrypkLYVDran0RApQkAJ9XYqrckt53N9LT92k+wJCt+6DgogCeK24J
aas88IqXmZ5I4mRMYq+sBO0=
=TWQ7
-----END PGP SIGNATURE-----

--Signature=_Mon__21_Jun_2004_10_07_07_+0200_+x7.5Bjyq=4Kk4Q5--