hopefully the last revision of the relative paths handling algorithm
This commit is contained in:
1 parent
332dbf7b9b
commit
cbcdae9148
8 files changed
+43
-41
No files matched your search
@@ -205,7 +205,7 @@ getOptionsFromFile file = do
|
||||
(\_ -> return (Bad $ "File " ++ file ++ " does not exist"))
|
||||
let ls = filter (BS.isPrefixOf (BS.pack "--#")) $ BS.lines s
|
||||
fs = map (BS.unpack . BS.unwords . BS.words . BS.drop 3) ls
|
||||
ioeErr $ parseModuleOptions (dropFileName file) fs
|
||||
ioeErr $ parseModuleOptions fs
|
||||
|
||||
getFilePath :: [FilePath] -> String -> IO (Maybe FilePath)
|
||||
getFilePath paths file = get paths
|
||||
|
||||
Reference in new issue
Block a user