summaryrefslogtreecommitdiff
path: root/packaging/freebsd/security/monkeysphere/files/patch-src_monkeysphere-host
blob: 9414c73550105a46e8b3c95a46ff37d45dd61b02 (plain)
  1. --- src/monkeysphere-host
  2. +++ src/monkeysphere-host
  3. @@ -103,7 +103,7 @@ update_gpg_pub_file() {
  4. load_fingerprint() {
  5. if [ -f "$HOST_KEY_FILE" ] ; then
  6. HOST_FINGERPRINT=$( \
  7. - (FUBAR=$(mktemp -d) && export GNUPGHOME="$FUBAR" \
  8. + (FUBAR=$(msmktempdir) && export GNUPGHOME="$FUBAR" \
  9. && gpg --quiet --import \
  10. && gpg --quiet --list-keys --with-colons --with-fingerprint \
  11. && rm -rf "$FUBAR") <"$HOST_KEY_FILE" \