Merge pull request #38 from conal/master
Tweak for ghc-6.12.3 compatibility
This commit is contained in:
commit
47e5a13b56
@ -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