Merge commit 'jrollins/master'
[monkeysphere.git] / src / monkeysphere-host
index da7fc9cec0da8ab7d66607c2cc278c84e2c9e03c..507b47f8f73eabfd6a62e7d9feaf4d53d12bca84 100755 (executable)
@@ -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" \