diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2012-04-29 09:18:52 +0200 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2012-04-29 09:18:52 +0200 |
commit | 180e655748dc6fd8c62ca7fa269e4f614ac1e8ca (patch) | |
tree | c6b0e1a02165591c45c7961398340725666f644b /test/lib | |
parent | 31c1ebb69681e9b9b9d17795210f6bbd24ee2381 (diff) | |
download | dbscripts-180e655748dc6fd8c62ca7fa269e4f614ac1e8ca.tar.gz dbscripts-180e655748dc6fd8c62ca7fa269e4f614ac1e8ca.tar.xz |
Respect TMPDIR config when creating the working directory
Diffstat (limited to 'test/lib')
-rw-r--r-- | test/lib/common.inc | 2 |
1 files changed, 2 insertions, 0 deletions
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() { |