summaryrefslogtreecommitdiff
path: root/src/monkeysphere-host
diff options
context:
space:
mode:
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>2009-03-10 02:06:25 -0400
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>2009-03-10 02:06:25 -0400
commitdb21b3340c2b7ade19eaecb306814fc0e54666f1 (patch)
tree7e5825c40f7c02b5bb40d51c6fddd09974c8ab15 /src/monkeysphere-host
parente6c5dca14f7e694d77621e671202464bba41666a (diff)
cleaning up a lingering non-portable mktemp invocation.
Diffstat (limited to 'src/monkeysphere-host')
-rwxr-xr-xsrc/monkeysphere-host2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/monkeysphere-host b/src/monkeysphere-host
index b052ca1..6136399 100755
--- a/src/monkeysphere-host
+++ b/src/monkeysphere-host
@@ -103,7 +103,7 @@ update_gpg_pub_file() {
load_fingerprint() {
if [ -f "$HOST_KEY_FILE" ] ; then
HOST_FINGERPRINT=$( \
- (FUBAR=$(mktemp -d) && export GNUPGHOME="$FUBAR" \
+ (FUBAR=$(msmktempdir) && export GNUPGHOME="$FUBAR" \
&& gpg --quiet --import \
&& gpg --quiet --list-keys --with-colons --with-fingerprint \
&& rm -rf "$FUBAR") <"$HOST_KEY_FILE" \