Toplevel Makefile.tpl cleanup 2/n part two
Nathanael Nerode
neroden@twcny.rr.com
Wed Mar 5 01:39:00 GMT 2003
>> All the invocations of 'true' are, in fact, useless.
>
>Nope. Some make&shell combinations will fail if an `if' test fails
>and there's no `else true' clause.
You're saying that
blah:
if false ; then : fi ; true ;
will actually *fail* in certain make/shell combinations?
Sure, the exit value of the if statement can be 1 or whatever, but in
a ;-separated list, doesn't the exit value of the later statement
override it? Is there really a shell *that* broken?
Look at my code again please.
--Nathanael
More information about the Gcc-patches
mailing list