diff options
author | Ian Lynagh <igloo@earth.li> | 2012-07-19 20:38:26 +0100 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2012-07-19 20:38:26 +0100 |
commit | 7f164839d8b0b6e53fa0f15d2a6810ca310e337d (patch) | |
tree | 34a2bdeb25673b73d3a6935ab5d4170f94bc11a0 /tests/html-tests/accept.hs | |
parent | 4dc9ecd3905f75adb6bcfb818fbc163c724d4545 (diff) | |
parent | 6e8bc1dca77bbbc5743f63a2e8ea5b1eab0ed80c (diff) |
Merge branch 'master' of darcs.haskell.org:/srv/darcs//haddock
Diffstat (limited to 'tests/html-tests/accept.hs')
-rw-r--r-- | tests/html-tests/accept.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/html-tests/accept.hs b/tests/html-tests/accept.hs index fe1e5422..49da5c5a 100644 --- a/tests/html-tests/accept.hs +++ b/tests/html-tests/accept.hs @@ -13,9 +13,9 @@ main = do contents <- getDirectoryContents (dir </> "output") if not $ null args then - mapM copy [ "output" </> file | file <- contents, ".html" `isSuffixOf` file, takeBaseName file `elem` args ] + mapM_ copy [ "output" </> file | file <- contents, ".html" `isSuffixOf` file, takeBaseName file `elem` args ] else - mapM copy [ "output" </> file | file <- contents, ".html" `isSuffixOf` file ] + mapM_ copy [ "output" </> file | file <- contents, ".html" `isSuffixOf` file ] copy file = do |