Removed unneeded function from Setup.hs.

This commit is contained in:
John MacFarlane 2012-10-15 19:11:19 -07:00
parent 4cc3801fb0
commit b28630f577

View file

@ -95,9 +95,3 @@ modifiedDependencies file dependencies = do
let modified = zipWith (\dep time -> if time > fileModTime then Just dep else Nothing) dependencies depModTimes
return $ catMaybes modified
-- | Perform an IO action in a directory.
inDirectory :: FilePath -> IO a -> IO a
inDirectory dir action = do
oldDir <- getCurrentDirectory
bracket_ (setCurrentDirectory dir) (setCurrentDirectory oldDir) action