projects
/
monkeysphere.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
new msmktempdir function, to simplify making temporary directories. remove MHTMPDIR...
[monkeysphere.git]
/
src
/
share
/
mh
/
add_revoker
diff --git
a/src/share/mh/add_revoker
b/src/share/mh/add_revoker
index dfce4e11f1a64b4b4c46e1d93f73531d5eda94df..bdcb749118141cb8ed9a14be434c963feeaa0803 100644
(file)
--- 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
fi
else
# create a temporary directory for storing the downloaded key
- TMPLOC=$(m
ktemp -d "${MHTMPDIR}"/tmp.XXXXXXXXXX
) || failure "Could not create temporary directory!"
+ TMPLOC=$(m
smktempdir
) || failure "Could not create temporary directory!"
# download the key from the keyserver as the monkeysphere user
su_monkeysphere_user \
# download the key from the keyserver as the monkeysphere user
su_monkeysphere_user \