summaryrefslogtreecommitdiff
path: root/Command
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-06-15 15:20:11 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-06-15 15:20:11 -0400
commit53d2e81ffda7892dbb4bdef801eb31772094e647 (patch)
tree91e6e818f81b45c30744e3ded3383f29f909c6e7 /Command
parent85db1720e9cb3e06951554ffa1079b1b8a814f92 (diff)
parentaf7b6319d725e8090b32f74b397a9eba79e22978 (diff)
Merge branch 'master' into watch
Diffstat (limited to 'Command')
-rw-r--r--Command/AddUrl.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Command/AddUrl.hs b/Command/AddUrl.hs
index 87b24149d..369940bdf 100644
--- a/Command/AddUrl.hs
+++ b/Command/AddUrl.hs
@@ -73,7 +73,7 @@ download url file = do
liftIO $ createDirectoryIfMissing True (parentDir tmp)
stopUnless (downloadUrl [url] tmp) $ do
backend <- chooseBackend file
- let source = KeySource { keyFilename = file, contentLocation = file}
+ let source = KeySource { keyFilename = file, contentLocation = tmp }
k <- genKey source backend
case k of
Nothing -> stop