diff --git a/Command/AddUrl.hs b/Command/AddUrl.hs index 87b24149d8..369940bdfe 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 diff --git a/debian/changelog b/debian/changelog index 67ecdda45d..624f1e132b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,5 +1,7 @@ git-annex (3.20120612) UNRELEASED; urgency=low + * addurl: Was broken by a typo introduced 2 released ago, now fixed. + Closes: #677576 * Install man page when run by cabal, in a location where man will find it, even when installing under $HOME. Thanks, Nathan Collins