cleaning up a lingering non-portable mktemp invocation.
[monkeysphere.git] / src / monkeysphere-host
index b052ca1b0d12bcb0f5183d3ecb15afbc34ef2c40..6136399643eb70e46da8e19df0b1485d49e821a8 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" \