[master] d32c475d4 Make it possible to override TMPDIR.

Lasse Karstensen lasse.karstensen at gmail.com
Fri Mar 8 11:47:06 UTC 2019

commit d32c475d424b7a63f41542d3f42b424311aaed8a
Author: Lasse Karstensen <lasse.karstensen at gmail.com>
Date:   Fri Mar 8 12:45:54 2019 +0100

    Make it possible to override TMPDIR.

diff --git a/tools/vtest.sh b/tools/vtest.sh
index 4d4b3d6dd..4464826e5 100755
--- a/tools/vtest.sh
+++ b/tools/vtest.sh
@@ -35,7 +35,7 @@ export MAKEFLAGS="${MAKEFLAGS:--j2}"
 # This tempdirectory must not be used by anything else.
 # Do *NOT* set this to /tmp
-export TMPDIR=`pwd`/_vtest_tmp
+export TMPDIR="${TMPDIR:-`pwd`/_vtest_tmp}"
 # Message to be shown in result pages
 # Max 10 char of [A-Za-z0-9/. _-]

More information about the varnish-commit mailing list