Rename build-time option TMPDIR to EXIM_TMPDIR
authorAlexander Tsoy <alexander@tsoy.me>
Tue, 2 Feb 2016 17:56:15 +0000 (20:56 +0300)
committerHeiko Schlittermann (HS12-RIPE) <hs@schlittermann.de>
Fri, 5 Feb 2016 10:17:52 +0000 (11:17 +0100)
Build-time option TMPDIR included in Makefile clashes with environment
variable of the same name. This breaks tools that make use of that
variable, such as distcc.

The following example demonstrates what's going on:

$ cat Makefile
TMPDIR="/tmp"
all:
env
$ export TMPDIR=test
$ make | grep ^TMPDIR
TMPDIR="/tmp"

distcc error (note the extra quotes):
ERROR: can't use TMPDIR ""/tmp"": No such file or directory


No differences found