summaryrefslogtreecommitdiff
path: root/Content.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Content.hs')
-rw-r--r--Content.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Content.hs b/Content.hs
index d0ed8d861..e16ad883c 100644
--- a/Content.hs
+++ b/Content.hs
@@ -67,7 +67,7 @@ logStatus key status = do
getViaTmp :: Key -> (FilePath -> Annex Bool) -> Annex Bool
getViaTmp key action = do
g <- Annex.gitRepo
- let tmp = gitAnnexTmpDir g </> keyFile key
+ let tmp = gitAnnexTmpLocation g key
liftIO $ createDirectoryIfMissing True (parentDir tmp)
success <- action tmp
if success