summaryrefslogtreecommitdiff
path: root/Assistant/Ssh.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-05-12 19:19:28 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-05-12 19:19:28 -0400
commit1dd4574909b40ffdb77ae1338b353156d73983af (patch)
tree21a2d65e054964e91ba7376fcbca95b33f7f4472 /Assistant/Ssh.hs
parentb8558b724b302a9db16e9b75ac2cba425ecdc5c1 (diff)
rename module
Diffstat (limited to 'Assistant/Ssh.hs')
-rw-r--r--Assistant/Ssh.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Assistant/Ssh.hs b/Assistant/Ssh.hs
index 0c718d019..7875c4c4c 100644
--- a/Assistant/Ssh.hs
+++ b/Assistant/Ssh.hs
@@ -8,7 +8,7 @@
module Assistant.Ssh where
import Common.Annex
-import Utility.TempFile
+import Utility.Tmp
import Utility.UserInfo
import Utility.Shell
import Git.Remote
@@ -146,7 +146,7 @@ authorizedKeysLine rsynconly dir pubkey
{- Generates a ssh key pair. -}
genSshKeyPair :: IO SshKeyPair
-genSshKeyPair = withTempDir "git-annex-keygen" $ \dir -> do
+genSshKeyPair = withTmpDir "git-annex-keygen" $ \dir -> do
ok <- boolSystem "ssh-keygen"
[ Param "-P", Param "" -- no password
, Param "-f", File $ dir </> "key"