mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-22 19:22:50 -06:00
use the standard System.FilePath module instead of our own broken file path manipulation functions
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user