From 180e655748dc6fd8c62ca7fa269e4f614ac1e8ca Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Sun, 29 Apr 2012 09:18:52 +0200 Subject: Respect TMPDIR config when creating the working directory --- test/lib/common.inc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test/lib') diff --git a/test/lib/common.inc b/test/lib/common.inc index a703152..3001ad8 100644 --- a/test/lib/common.inc +++ b/test/lib/common.inc @@ -1,6 +1,8 @@ set -E . "$(dirname ${BASH_SOURCE[0]})/../../config" +# override the default TMPDIR +export TMPDIR="$(mktemp -d /tmp/${0##*/}.XXXXXXXXXX)" . "$(dirname ${BASH_SOURCE[0]})/../../db-functions" signpkg() { -- cgit v1.2.3-2-g168b