fix path separator
This commit is contained in:
parent
06551ad86b
commit
a2f83b28f3
1 changed files with 1 additions and 1 deletions
2
Locations.hs
Normal file → Executable file
2
Locations.hs
Normal file → Executable file
|
@ -259,7 +259,7 @@ gitAnnexAssistantDefaultDir = "annex"
|
||||||
- than .git to be used.
|
- than .git to be used.
|
||||||
-}
|
-}
|
||||||
isLinkToAnnex :: FilePath -> Bool
|
isLinkToAnnex :: FilePath -> Bool
|
||||||
isLinkToAnnex s = ('/':objectDir) `isInfixOf` s
|
isLinkToAnnex s = (pathSeparator:objectDir) `isInfixOf` s
|
||||||
|
|
||||||
{- Converts a key into a filename fragment without any directory.
|
{- Converts a key into a filename fragment without any directory.
|
||||||
-
|
-
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue