RE: makefile fix

From: Piszcz, Justin Michael
Date: Tue Jun 01 2004 - 09:22:52 EST


Quick FYI:

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

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


-----Original Message-----
From: linux-kernel-owner@xxxxxxxxxxxxxxx
[mailto:linux-kernel-owner@xxxxxxxxxxxxxxx] On Behalf Of Paul Jackson
Sent: Sunday, May 30, 2004 7:39 PM
To: carbonated beverage
Cc: linux-kernel@xxxxxxxxxxxxxxx
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 <pj@xxxxxxx> 1.650.933.1373
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel"
in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/