On Mon, Feb 13, 2006 at 10:27:52PM +0100, Matthias Andree wrote:
> [ -f rpl8 ] && whatever
> 
> fails if rpl8 is missing, and does not only skip "whatever" (here:
> install), but also exits the whole compound command with code 1, which
> aborts the make target.
> 
> "[ CONDITION ] && whatever" is therefore a Makefile pitfall.

Try this:

[ -f rpl8 ] && whatever || true


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to