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-core".
The branch, master has been updated
via 4e83df6378dd3e74242078bf33d99c5661a70ef2 (commit)
from a77fc64fada3c5b0eeb8e39bb8e077939bfdf665 (commit)
Summary of changes:
src/Snap/Starter.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 4e83df6378dd3e74242078bf33d99c5661a70ef2
Author: Mighty Byte <[email protected]>
Date: Wed Sep 1 08:21:14 2010 -0400
Fixed issue 16. Had to filter underscores from the project name written to
the project cabal file.
diff --git a/src/Snap/Starter.hs b/src/Snap/Starter.hs
index 7c8f872..96b52be 100644
--- a/src/Snap/Starter.hs
+++ b/src/Snap/Starter.hs
@@ -48,7 +48,7 @@ setup projName tDir = do
else writeFile f c
insertProjName c = T.unpack $ T.replace
(T.pack "projname")
- (T.pack projName) c
+ (T.pack $ filter (/='_') projName) c
------------------------------------------------------------------------------
initProject :: [String] -> IO ()
-----------------------------------------------------------------------
hooks/post-receive
--
snap-core
_______________________________________________
Snap mailing list
[email protected]
http://mailman-mail5.webfaction.com/listinfo/snap