]> git.ipfire.org Git - thirdparty/autoconf.git/commit
Check in install-sh as synced from automake (#110368)
authorZack Weinberg <zackw@panix.com>
Mon, 9 Nov 2020 18:44:49 +0000 (13:44 -0500)
committerZack Weinberg <zackw@panix.com>
Mon, 9 Nov 2020 18:51:20 +0000 (13:51 -0500)
commitd1a65dc04301a11b7fe33708489a9ab470cfe55f
treee5c909a07d30b37cb43a1a258ae2f00ea415d317
parent47b08afd96634749c3136e5dc484a21323011725
Check in install-sh as synced from automake (#110368)

As pointed out in sr #110368, since install-sh is now being installed
as part of autoconf, we should make sure to ship the latest version
rather than the version shipped by the automake that was used to
bootstrap the autoconf release tarball.

The build-aux/fetch.pl script is already supposed to fetch the latest
version, but install-sh is listed in .gitignore so any updates are
discarded when starting from a clean tree.  Correct this.

At the same time, since mdate-sh is *not* installed by autoconf nor is
it directly referenced in any code maintained in the autoconf
repository, remove it from the list of files to fetch and keep it in
.gitignore.

This change exposed a bug in fetch.pl where it would crash when
there was no old copy of a file being updated.

 * .gitignore: Remove /build-aux/install-sh.
 * build-aux/fetch.pl (%to_fetch): Remove build-aux/mdate-sh.
   (slurp): Don’t die on ENOENT, return undef.
   (replace_if_change): Handle $oldcontents being undef.
 * build-aux/install-sh: Is now checked in.
.gitignore
build-aux/fetch.pl
build-aux/install-sh [new file with mode: 0755]