[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: dvd+rw-tools update [6.1, O_EXCL]



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



Reply to: