summaryrefslogtreecommitdiff
path: root/src/share/mh/add_revoker
diff options
context:
space:
mode:
authorJameson Graef Rollins <jrollins@finestructure.net>2009-02-18 20:56:14 -0500
committerJameson Graef Rollins <jrollins@finestructure.net>2009-02-18 20:56:14 -0500
commit62374dd1c16a2719202955ad3fe878be5cc14dba (patch)
treeb2d4480ad337ee204719b180613c58e21c7ca392 /src/share/mh/add_revoker
parent88b19565bced6d9ec9b035d1f9fe51ce6567923b (diff)
new msmktempdir function, to simplify making temporary directories. remove MHTMPDIR, since it's not needed.
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 dfce4e1..bdcb749 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=$(msmktempdir) || failure "Could not create temporary directory!"
# download the key from the keyserver as the monkeysphere user
su_monkeysphere_user \