Remove use of DoAndIfThenElse extension, absent in GHC 6.12.3.
This commit is contained in:
parent
3e75be3e18
commit
db0265268b
@ -1,4 +1,4 @@
|
|||||||
{-# LANGUAGE DoAndIfThenElse #-}
|
-- {-# LANGUAGE DoAndIfThenElse #-} -- not in GHC 6.12.3
|
||||||
|
|
||||||
module CabalDev (modifyOptions) where
|
module CabalDev (modifyOptions) where
|
||||||
|
|
||||||
@ -38,7 +38,7 @@ searchIt path = do
|
|||||||
a <- doesDirectoryExist (mpath path)
|
a <- doesDirectoryExist (mpath path)
|
||||||
if a then do
|
if a then do
|
||||||
findConf (mpath path)
|
findConf (mpath path)
|
||||||
else
|
else
|
||||||
searchIt $ init path
|
searchIt $ init path
|
||||||
where
|
where
|
||||||
mpath a = joinPath a </> "cabal-dev/"
|
mpath a = joinPath a </> "cabal-dev/"
|
||||||
|
Loading…
Reference in New Issue
Block a user