diff options
Diffstat (limited to 'Upgrade.hs')
-rw-r--r-- | Upgrade.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Upgrade.hs b/Upgrade.hs index 596d525db..1e70e68d5 100644 --- a/Upgrade.hs +++ b/Upgrade.hs @@ -39,9 +39,9 @@ upgradeFrom0 = do g <- Annex.gitRepo -- do the reorganisation of the files - let olddir = annexDir g + let olddir = gitAnnexDir g keys <- getKeysPresent0' olddir - _ <- mapM (\k -> moveAnnex k $ olddir ++ "/" ++ keyFile k) keys + _ <- mapM (\k -> moveAnnex k $ olddir </> keyFile k) keys -- update the symlinks to the files files <- liftIO $ Git.inRepo g [Git.workTree g] |