summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <fiddlosopher@gmail.com>2012-10-15 19:11:19 -0700
committerJohn MacFarlane <fiddlosopher@gmail.com>2012-10-15 19:53:57 -0700
commitb28630f577fd149580b18a300252cd0e1f173574 (patch)
tree5a593943b187919277018cf2890584d1658ce5e6
parent4cc3801fb06172e857f75ee3d8c55e3f135ff3d1 (diff)
Removed unneeded function from Setup.hs.
-rw-r--r--Setup.hs6
1 files changed, 0 insertions, 6 deletions
diff --git a/Setup.hs b/Setup.hs
index 9f5b7c26e..324142a30 100644
--- a/Setup.hs
+++ b/Setup.hs
@@ -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
-