Removed unneeded function from Setup.hs.
This commit is contained in:
parent
4cc3801fb0
commit
b28630f577
1 changed files with 0 additions and 6 deletions
6
Setup.hs
6
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
|
||||
|
||||
|
|
Loading…
Reference in a new issue