diff options
| author | krasimir <krasimir@chalmers.se> | 2009-10-05 14:58:13 +0000 |
|---|---|---|
| committer | krasimir <krasimir@chalmers.se> | 2009-10-05 14:58:13 +0000 |
| commit | 332dbf7b9b79f9cb2fa60212cc5529e0c490c1de (patch) | |
| tree | 3f78c3872d1acbea53b266d76814d941f2690efb /src/GF/Compile | |
| parent | be966cdda2a2e10ee6e19e998d0c7c15b8f9a201 (diff) | |
another attempt to get the paths handling right
Diffstat (limited to 'src/GF/Compile')
| -rw-r--r-- | src/GF/Compile/ReadFiles.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/GF/Compile/ReadFiles.hs b/src/GF/Compile/ReadFiles.hs index b96d3127b..da06f2789 100644 --- a/src/GF/Compile/ReadFiles.hs +++ b/src/GF/Compile/ReadFiles.hs @@ -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 fs + ioeErr $ parseModuleOptions (dropFileName file) fs getFilePath :: [FilePath] -> String -> IO (Maybe FilePath) getFilePath paths file = get paths |
