summaryrefslogtreecommitdiff
path: root/Command
diff options
context:
space:
mode:
Diffstat (limited to 'Command')
-rw-r--r--Command/AddUrl.hs2
-rw-r--r--Command/Map.hs2
2 files changed, 2 insertions, 2 deletions
diff --git a/Command/AddUrl.hs b/Command/AddUrl.hs
index 2756af880..f32b5b86a 100644
--- a/Command/AddUrl.hs
+++ b/Command/AddUrl.hs
@@ -48,7 +48,7 @@ download url file = do
let dummykey = Backend.URL.fromUrl url
let tmp = gitAnnexTmpLocation g dummykey
liftIO $ createDirectoryIfMissing True (parentDir tmp)
- ok <- Url.download url tmp
+ ok <- liftIO $ Url.download url tmp
if ok
then do
[(backend, _)] <- Backend.chooseBackends [file]
diff --git a/Command/Map.hs b/Command/Map.hs
index 18cb915e3..48cba63f9 100644
--- a/Command/Map.hs
+++ b/Command/Map.hs
@@ -16,7 +16,7 @@ import qualified Git
import Annex.UUID
import Logs.UUID
import Logs.Trust
-import Utility.Ssh
+import Annex.Ssh
import qualified Utility.Dot as Dot
-- a link from the first repository to the second (its remote)