Merge pull request #38 from conal/master

Tweak for ghc-6.12.3 compatibility
This commit is contained in:
Kazu Yamamoto 2012-02-05 22:12:01 -08:00
commit 47e5a13b56
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
{-# LANGUAGE DoAndIfThenElse #-}
-- {-# LANGUAGE DoAndIfThenElse #-} -- not in GHC 6.12.3
module CabalDev (modifyOptions) where
@ -38,7 +38,7 @@ searchIt path = do
a <- doesDirectoryExist (mpath path)
if a then do
findConf (mpath path)
else
else
searchIt $ init path
where
mpath a = joinPath a </> "cabal-dev/"