X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;ds=sidebyside;f=src%2Fmonkeysphere-host;h=507b47f8f73eabfd6a62e7d9feaf4d53d12bca84;hb=b8c187a0803442fbf4d9c432cac90925791171aa;hp=b052ca1b0d12bcb0f5183d3ecb15afbc34ef2c40;hpb=91fee4b8616ce94be3b18f58b8d361d784ce92a6;p=monkeysphere.git diff --git a/src/monkeysphere-host b/src/monkeysphere-host index b052ca1..507b47f 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" \ @@ -242,6 +242,7 @@ export PROMPT export GNUPGHOME_HOST export GNUPGHOME export HOST_FINGERPRINT +export LOG_PREFIX # get subcommand COMMAND="$1"