Factorize external program names into variables
authorTorsten Maehne <Torsten.Maehne@gmx.de>
Mon, 30 Jul 2012 17:00:31 +0000 (19:00 +0200)
committerPhilipp A. Hartmann <philipp.hartmann@offis.de>
Mon, 27 Aug 2012 11:09:31 +0000 (13:09 +0200)
commitb2758dccf01c9d46d3083accab97f48c7978b5b0
tree6c8a53cbb5a718cc6729bda8033b2d24acda81ae
parent999fd0e1e1d977a7e6fa39d945e206773109c3a7
Factorize external program names into variables

The external programs (tar, xdelta) called by the pristine-tar script have
been hardcoded until now.  This requires that both program names are the
first in the user's PATH, which can lead to problems, especially on
non-GNU/Linux platforms:

 * Pristine-tar uses options (e.g., "--owner"), which are only present
   in GNU tar.
 * Pristine-tar uses the old 1.1 release series Xdelta, which is
   syntactically incompatible to the 3.0 release series of Xdelta.

This commit centralizes the definition of the program names of tar and
xdelta so that their exact names (or locations)  can be easily configured.

Signed-off-by: Philipp A. Hartmann <philipp.hartmann@offis.de>
pristine-tar