missing: don't try to re-run tar with a munged command line
authorStefano Lattarini <stefano.lattarini@gmail.com>
Sun, 30 Oct 2011 10:55:28 +0000 (11:55 +0100)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Thu, 22 Dec 2011 11:21:13 +0000 (12:21 +0100)
commit75f2b50a655a8dc41a51c6fdcb1c6f8571dce348
tree56b65b563dd333cb8243c6083e4e20d4a2aae3dc
parenta930b7d18bfd011647c84def5fef69e3880a2686
missing: don't try to re-run tar with a munged command line

* lib/missing: If the default `tar' program fails with the given
arguments, and GNU tar is not available, don't try to re-run the
default `tar' with a munged command line (e.g., ditching possibly
unportable options), as that could be subtly alter the intended
semantics (and maybe even create a somewhat corrupted tarball).
Also, it's worth noting that the main purpose of the `missing'
script is to allow a non-developer to build the package in the
face of slightly-skewed timestamps, not to provide wrappers for
all the maintainer tools -- so we don't have to try too hard
when `missing' is just called to wrap `tar'.
* tests/missing-tar.test: New test.
* tests/Makefile.am (TESTS): Add it.
ChangeLog
lib/missing
tests/Makefile.am
tests/Makefile.in
tests/missing-tar.test [new file with mode: 0755]