diff options
| author | krasimir <krasimir@chalmers.se> | 2008-04-22 11:39:46 +0000 |
|---|---|---|
| committer | krasimir <krasimir@chalmers.se> | 2008-04-22 11:39:46 +0000 |
| commit | fc111c1a7910ab4a2a1bf40c0473bbaacadedd61 (patch) | |
| tree | 6f9c2bed83320272ebe41f314fd930f2a13ce3d9 /src/GF.hs | |
| parent | 7a6adbf35932efeed283f762b300b6f5a3b21d8a (diff) | |
use the standard System.FilePath module instead of our own broken file path manipulation functions
Diffstat (limited to 'src/GF.hs')
| -rw-r--r-- | src/GF.hs | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -35,6 +35,7 @@ import GF.Text.UTF8 import GF.Today (today,version,libdir) import GF.System.Arch import System (getArgs,system,getEnv) +import System.FilePath import Control.Monad (foldM,liftM) import Data.List (nub) @@ -106,7 +107,7 @@ main = do mkConcretes os es doGF (removeOption fromExamples os) fs -- preprocessing gfwl - else if (length fs == 1 && fileSuffix (head fs) == "gfwl") + else if (length fs == 1 && takeExtensions (head fs) == ".gfwl") then do fs' <- mkWordlist (head fs) doGF os fs' |
