* lib/install-sh (initialize_posix_glob): New var.
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 26 Dec 2006 05:20:52 +0000 (05:20 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 26 Dec 2006 05:20:52 +0000 (05:20 +0000)
commit639d888edae5326d07e2ab1a07352791635788cc
treec37b7becb408d7f6abea85e86007a02857eb11f8
parentc65949f39f327c77189626338da9e5c64e6c5316
* lib/install-sh (initialize_posix_glob): New var.
Use it instead of setting posix_glob inline.
(posix_glob): Use '?'/''/: instead of ''/yes/no, for convenience.
(cmpprog, CMPPROG): New vars, since we use cmp rather than the diff
of Akim's patch.
Use LC_ALL before invoking 'ls' when we depend on its output format.
Don't use awk; just use the shell's builtin features.
Clean up $dsttmp -C detects no installation is needed.
* tests/defs.in (is_newest): Renamed from is_younger; the new
name is more accurate.  All uses changed.
(old_timestamp): New var.
* tests/instsh2.test: Rewrite to avoid the need for sleeping.

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

* lib/install-sh: Implement install-sh -C.
(This patch is the remaining part of the patch proposed in
<http://lists.gnu.org/archive/html/automake-patches/2006-10/msg00077.html>.)
(usage): Document it.
(copy_on_change): New var.
* tests/defs.in (is_younger): New function.
* tests/instsh2.test: Check install-sh -C.
ChangeLog
lib/install-sh
tests/defs.in
tests/instsh2.test