fix Windows breakage
This commit is contained in:
parent
93f2371e09
commit
da012e1eeb
1 changed files with 3 additions and 1 deletions
|
@ -37,7 +37,9 @@ toCommand = concatMap unwrap
|
|||
| isAlphaNum h || h `elem` pathseps = [s]
|
||||
| otherwise = ["./" ++ s]
|
||||
unwrap (File s) = [s]
|
||||
pathseps = [pathSeparator, '.']
|
||||
-- '/' is explicitly included because it's an alternative
|
||||
-- path separator on Windows.
|
||||
pathseps = [pathSeparator, './']
|
||||
|
||||
{- Run a system command, and returns True or False
|
||||
- if it succeeded or failed.
|
||||
|
|
Loading…
Add table
Reference in a new issue