Makefile: Unexport TAR_OPTIONS
authorNix <nix@esperi.org.uk>
Sun, 26 Jan 2014 22:58:02 +0000 (22:58 +0000)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 27 Jan 2014 07:52:02 +0000 (08:52 +0100)
commitf5437a65020f6882cc6cc3c25d781cdd5bd32e21
tree5f28bc1b1efec94cf349940b50948521c34850bf
parentb392a24adbe18ac9848bcbfbec15d8c5add7affc
Makefile: Unexport TAR_OPTIONS

GNU tar > 1.13.17 interprets TAR_OPTIONS as an environment variable
containing options to be prepended to the set on the command line.

Since we use the same variable, if the user's environment already
contains TAR_OPTIONS, our use of the same variable name modifies
the environment and causes untars to misbehave when TAR_OPTIONS
causes a -xf to be prepended to the tar command line, likely
converting a subsequent flag into a spurious filename.

Signed-off-by: Nick Alcock <nick.alcock@oracle.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Makefile