fsck: Avoid getting confused by Windows path separators

This commit is contained in:
Joey Hess 2013-06-17 21:18:43 -04:00
parent d80a0f62a4
commit 9ef09587dc
2 changed files with 2 additions and 1 deletions

View file

@ -207,7 +207,7 @@ fixLink key file = do
return True
where
go want have
| want /= have = do
| want /= fromInternalGitPath have = do
showNote "fixing link"
liftIO $ createDirectoryIfMissing True (parentDir file)
liftIO $ removeFile file