[commit: haddock] ghc-7.6: Fix Setup.lhs (e251a5e)

Simon Hengel <[email protected]>
Newsgroups gmane.comp.lang.haskell.cvs.ghc
Message-ID <[email protected]>
Repository : ssh://darcs.haskell.org//srv/darcs/haddock

On branch  : ghc-7.6

http://hackage.haskell.org/trac/ghc/changeset/e251a5e26ca9ad3f783a251e2cac04b83a7f696f

>---------------------------------------------------------------

commit e251a5e26ca9ad3f783a251e2cac04b83a7f696f
Author: Simon Hengel <[email protected]>
Date:   Mon Oct 15 15:49:35 2012 +0200

    Fix Setup.lhs
    
    /usr/bin/runhaskell is not installed on all systems.

>---------------------------------------------------------------

 Setup.lhs |    8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/Setup.lhs b/Setup.lhs
index fe12b5b..5bde0de 100755
--- a/Setup.lhs
+++ b/Setup.lhs
@@ -1,5 +1,3 @@
-#! /usr/bin/runhaskell
-\begin{code}
-import Distribution.Simple
-main = defaultMain
-\end{code}
+#!/usr/bin/env runhaskell
+> import Distribution.Simple
+> main = defaultMain
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.