summaryrefslogtreecommitdiff
path: root/db-functions
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2013-06-12 19:52:00 -0600
committerLuke Shumaker <LukeShu@sbcglobal.net>2013-06-16 22:12:40 -0600
commit9ea7be252eb359fa8d42eb74897b216158736f56 (patch)
tree034eb1a4a096f208a3db19db3dc88f41aedfd318 /db-functions
parent5ba4756a52e8f1280d4dbcff62dec4a4aeb47d1c (diff)
fix TMPDIR
Diffstat (limited to 'db-functions')
-rw-r--r--db-functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/db-functions b/db-functions
index 4029abf..01629bc 100644
--- a/db-functions
+++ b/db-functions
@@ -16,7 +16,7 @@ restore_umask () {
}
# set up general environment
-WORKDIR=$(mktemp -d "${TMPDIR}/${0##*/}.XXXXXXXXXX")
+WORKDIR=$(mktemp -dt "${0##*/}.XXXXXXXXXX")
if [ -n "${SVNUSER}" ]; then
setfacl -m u:"${SVNUSER}":rwx "${WORKDIR}"
setfacl -m d:u:"${USER}":rwx "${WORKDIR}"