fix path separator

This commit is contained in:
Joey Hess 2013-05-12 17:18:34 -05:00
parent 06551ad86b
commit a2f83b28f3

2
Locations.hs Normal file → Executable file
View file

@ -259,7 +259,7 @@ gitAnnexAssistantDefaultDir = "annex"
- than .git to be used.
-}
isLinkToAnnex :: FilePath -> Bool
isLinkToAnnex s = ('/':objectDir) `isInfixOf` s
isLinkToAnnex s = (pathSeparator:objectDir) `isInfixOf` s
{- Converts a key into a filename fragment without any directory.
-