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 /db-functions | |
parent | 31c1ebb69681e9b9b9d17795210f6bbd24ee2381 (diff) |
Respect TMPDIR config when creating the working directory
Diffstat (limited to 'db-functions')
-rw-r--r-- | db-functions | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/db-functions b/db-functions index 1b77035..c992fe5 100644 --- a/db-functions +++ b/db-functions @@ -16,7 +16,7 @@ restore_umask () { } # set up general environment -WORKDIR=$(mktemp -d /tmp/${0##*/}.XXXXXXXXXX) +WORKDIR=$(mktemp -d "${TMPDIR}/${0##*/}.XXXXXXXXXX") LOCKS=() # check if messages are to be printed using color |