[Top][All Lists]

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

Re: Optimization for install-sh

From: Akim Demaille
Subject: Re: Optimization for install-sh
Date: 10 Nov 2000 14:49:20 +0100
User-agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Channel Islands)

>>>>> "Lars" == Lars J Aas <address@hidden> writes:

Lars> Anyways, there were a whole sh*tload of redundant else clauses
Lars> in that script that we could remove.  If not for more
Lars> readability; think of all the diskspace we can save ;)

Nope, it's not there for free.  There are some shell that

if false; then
  echo "False is dead broken"
echo $?

=> 1

which is wrong.  That's why there is an else clause.  That's also why
you will never see a if/fi without else branch in a good Makefile
(like those of Automake).

reply via email to

[Prev in Thread] Current Thread [Next in Thread]