more accurate type

This commit is contained in:
Joey Hess 2010-10-31 22:20:07 -04:00
parent 11efa7ef60
commit d04bfceaad

View file

@ -110,7 +110,7 @@ boolSystem command params = do
executeFile command True params Nothing
{- Escapes a filename to be safely able to be exposed to the shell. -}
shellEscape :: FilePath -> FilePath
shellEscape :: FilePath -> String
shellEscape f = "'" ++ quote ++ "'"
where
-- replace ' with '"'"'