This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "snap".

The branch, master has been updated
       via  6fc82788e19892993bf08961ab3d0ce162ca9f60 (commit)
      from  38b78d21761247c502f4859bd378067125476e72 (commit)


Summary of changes:
 src/Snap/Loader/Hint.hs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 6fc82788e19892993bf08961ab3d0ce162ca9f60
Author: Carl Howells <[email protected]>
Date:   Tue Jun 29 15:22:20 2010 -0700

    Update for how newer versions of cabal create command lines

diff --git a/src/Snap/Loader/Hint.hs b/src/Snap/Loader/Hint.hs
index 83efa26..89b5d78 100644
--- a/src/Snap/Loader/Hint.hs
+++ b/src/Snap/Loader/Hint.hs
@@ -80,7 +80,7 @@ getHintOpts args = "-hide-package=mtl" : filter (not . 
(`elem` bad)) opts
     srcOpts = filter (\x -> "-i" `isPrefixOf` x
                             && not ("-idist" `isPrefixOf` x)) args
 
-    toCopy = init $ dropWhile (/= "-package") args
+    toCopy = init $ dropWhile (not . ("-package" `isPrefixOf`)) args
     copy = map (intercalate " ") . groupBy (\_ s -> not $ "-" `isPrefixOf` s)
 
     opts = hideAll ++ srcOpts ++ copy toCopy
-----------------------------------------------------------------------


hooks/post-receive
-- 
snap
_______________________________________________
Snap mailing list
[email protected]
http://mailman-mail5.webfaction.com/listinfo/snap

Reply via email to