2004-06-01 14:19:39

by Piszcz, Justin Michael

[permalink] [raw]
Subject: RE: makefile fix

Quick FYI:

Bash supports C-style if() statements using double parenthesis.

$ if (( 5 > 3 )); then
> echo hi
> fi
Hi


-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Paul Jackson
Sent: Sunday, May 30, 2004 7:39 PM
To: carbonated beverage
Cc: [email protected]
Subject: Re: makefile fix

The (( x > y )) syntax looks like ksh stuff,
equivalent to the more widely supported [ x -gt y ].

Your patch looks reasonable to me.

--
I won't rest till it's the best ...
Programmer, Linux Scalability
Paul Jackson <[email protected]> 1.650.933.1373