[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"
fi
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).
- Optimization for install-sh, Pavel Roskin, 2000/11/08
- Re: Optimization for install-sh, Lars J. Aas, 2000/11/09
- Re: Optimization for install-sh, Alexandre Oliva, 2000/11/09
- Re: Optimization for install-sh, Pavel Roskin, 2000/11/09
- Re: Optimization for install-sh, Lars J. Aas, 2000/11/10
- Re: Optimization for install-sh,
Akim Demaille <=
- Message not available
- Re: Optimization for install-sh, Akim Demaille, 2000/11/10
- Re: Optimization for install-sh, Lars J. Aas, 2000/11/10
- Re: Optimization for install-sh, Akim Demaille, 2000/11/10
- Re: Optimization for install-sh, Alexandre Oliva, 2000/11/10
- Re: Optimization for install-sh, Pavel Roskin, 2000/11/10
- Re: Optimization for install-sh, Lars J. Aas, 2000/11/10