* lib/install-sh: Fix typo in previous patch for handling --.
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 25 Dec 2006 06:30:28 +0000 (06:30 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 25 Dec 2006 06:30:28 +0000 (06:30 +0000)
commitc65949f39f327c77189626338da9e5c64e6c5316
tree25747a5e543bbd5bd0db79b5c55af2fa47f3a508
parent59448d4f6be407ea0a541e692931b85c9392c78d
* lib/install-sh: Fix typo in previous patch for handling --.
Use more-consistent style for ';;'.
Prefer || to if-then-else-:.
* tests/install2.test: Rework to avoid set -e problems.

2006-12-24  Akim Demaille  <akim@epita.fr>

Simplify install-sh and its test.  This shouldn't change any behavior.
(This patch is a subset of the patch proposed in
<http://lists.gnu.org/archive/html/automake-patches/2006-10/msg00077.html>.)
* lib/install-sh (usage): Use usual GNU style.
(dstarg): Rename as...
(dst_arg): this for consistency.
Simplify quoting of assignments.
Sort them.
Don't use '\' to continue commands: && suffices.
Remove useless "continue" in the argument processing,
and factor the shifts.
* tests/defs.in: Some improvements to make it set -e clean.
Use the traditional ":" trick to protect loops from being empty.
Remove an empty straightforward piece of code prepared to define
additional variables.
Use test instead of [], for consistency.
* tests/install2.test: Use set -e, to simplify code.
ChangeLog
lib/install-sh
tests/defs.in
tests/install2.test