use msmktempfile instead of raw mktemp -- should be more portable
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Sun, 14 Mar 2010 23:06:15 +0000 (19:06 -0400)
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Sun, 14 Mar 2010 23:06:15 +0000 (19:06 -0400)
src/monkeysphere

index 454da019c4db54ad39667a3babf142222f19dc1e..8e6e81a5aeb85f887be2a304885979da3d1923cf 100755 (executable)
@@ -68,7 +68,7 @@ gpg_user() {
 # output the ssh fingerprint of a gpg key
 gpg_ssh_fingerprint() {
     keyid="$1"
-    local tmpfile=$(mktemp)
+    local tmpfile=$(msmktempfile)
 
     # trap to remove tmp file if break
     trap "rm -f $tmpfile" EXIT