diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2014-01-17 13:06:53 -0500 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-04-17 14:46:09 -0400 |
commit | d6e88e1a3fcddb4ef1717174e88d9a9f0a386357 (patch) | |
tree | 594ed2f6a293319ecc0bf27e2db5a1c10a575053 /db-functions | |
parent | 6262754028e750dbbacd1d68618bf5553d78f3cd (diff) |
Export TMPDIR, and use mktemp -t instead of making it part of the template
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 f00ed55..5fe86b6 100644 --- a/db-functions +++ b/db-functions @@ -25,7 +25,7 @@ mv_acl() { } # 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}" |