summaryrefslogtreecommitdiff
path: root/src/GF/Compile/ReadFiles.hs
diff options
context:
space:
mode:
authorkrasimir <krasimir@chalmers.se>2009-10-06 10:27:34 +0000
committerkrasimir <krasimir@chalmers.se>2009-10-06 10:27:34 +0000
commitcbcdae91484a13780a3d827a1b6ae85f7e3a9ab3 (patch)
treec796c0e036905810fae1d2c4005bcea67be68a4c /src/GF/Compile/ReadFiles.hs
parent332dbf7b9b79f9cb2fa60212cc5529e0c490c1de (diff)
hopefully the last revision of the relative paths handling algorithm
Diffstat (limited to 'src/GF/Compile/ReadFiles.hs')
-rw-r--r--src/GF/Compile/ReadFiles.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/GF/Compile/ReadFiles.hs b/src/GF/Compile/ReadFiles.hs
index da06f2789..b96d3127b 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 (dropFileName file) fs
+ ioeErr $ parseModuleOptions fs
getFilePath :: [FilePath] -> String -> IO (Maybe FilePath)
getFilePath paths file = get paths