diff options
author | John MacFarlane <fiddlosopher@gmail.com> | 2012-10-15 19:11:19 -0700 |
---|---|---|
committer | John MacFarlane <fiddlosopher@gmail.com> | 2012-10-15 19:53:57 -0700 |
commit | b28630f577fd149580b18a300252cd0e1f173574 (patch) | |
tree | 5a593943b187919277018cf2890584d1658ce5e6 /Setup.hs | |
parent | 4cc3801fb06172e857f75ee3d8c55e3f135ff3d1 (diff) | |
download | pandoc-b28630f577fd149580b18a300252cd0e1f173574.tar.gz |
Removed unneeded function from Setup.hs.
Diffstat (limited to 'Setup.hs')
-rw-r--r-- | Setup.hs | 6 |
1 files changed, 0 insertions, 6 deletions
@@ -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 - |