diff options
author | Daniel Kahn Gillmor <dkg@fifthhorseman.net> | 2008-11-16 00:57:27 -0500 |
---|---|---|
committer | Daniel Kahn Gillmor <dkg@fifthhorseman.net> | 2008-11-16 00:57:27 -0500 |
commit | d068b7c722211adf7d830b1c1b4ce9693eafbe4f (patch) | |
tree | e6fdb62874fd71bd55a19519bb3791cdd970799b /src | |
parent | a57e08b2beba4aa21ba023059bb3b6cb833f3c32 (diff) |
m-s s: avoid failures when $TMPDIR has a space in it. (output might still be a bit garbled)
Diffstat (limited to 'src')
-rwxr-xr-x | src/monkeysphere-server | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/monkeysphere-server b/src/monkeysphere-server index 5edaa4f..665d916 100755 --- a/src/monkeysphere-server +++ b/src/monkeysphere-server @@ -137,7 +137,7 @@ show_server_key() { tmpkey=$(mktemp ${TMPDIR:-/tmp}/tmp.XXXXXXXXXX) || failure "Could not create temporary directory!" gpg_authentication "--export $fingerprint" | openpgp2ssh "$fingerprint" 2>/dev/null > "$tmpkey" echo -n "ssh fingerprint: " - ssh-keygen -l -f $tmpkey | awk '{ print $1, $2, $4 }' + ssh-keygen -l -f "$tmpkey" | awk '{ print $1, $2, $4 }' rm -rf "$tmpkey" echo -n "OpenPGP fingerprint: " echo "$fingerprint" |