diff options
-rw-r--r-- | Utility/SafeCommand.hs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Utility/SafeCommand.hs b/Utility/SafeCommand.hs index d24c75dd4..978d4d9c7 100644 --- a/Utility/SafeCommand.hs +++ b/Utility/SafeCommand.hs @@ -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. |