summaryrefslogtreecommitdiff
path: root/src/share/mh/add_revoker
diff options
context:
space:
mode:
authorJameson Graef Rollins <jrollins@finestructure.net>2009-02-16 01:08:28 -0500
committerJameson Graef Rollins <jrollins@finestructure.net>2009-02-16 01:08:56 -0500
commitb55981fb8aa689aede58ed7ab4d8692c52b5c472 (patch)
tree9f7ebb266dad6657b9c2ab455398258d33fbb8a6 /src/share/mh/add_revoker
parent3a421784e75e8e720290b3cb3eef8a83746b0855 (diff)
make sure MHTMPDIR is defined and created
Diffstat (limited to 'src/share/mh/add_revoker')
-rw-r--r--src/share/mh/add_revoker2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/share/mh/add_revoker b/src/share/mh/add_revoker
index 8d160a8..5b637a5 100644
--- a/src/share/mh/add_revoker
+++ b/src/share/mh/add_revoker
@@ -53,7 +53,7 @@ if [ -f "$keyID" ] ; then
fi
else
# create a temporary directory for storing the downloaded key
- TMPLOC=$(mktemp -d ${MHTMPDIR}/tmp.XXXXXXXXXX) || failure "Could not create temporary directory!"
+ TMPLOC=$(mktemp -d "${MHTMPDIR}"/tmp.XXXXXXXXXX) || failure "Could not create temporary directory!"
# download the key from the keyserver as the monkeysphere user
su_monkeysphere_user \