[GHC] #695: ghcii.sh fails if ghc's path contains spaces

GHC trac at galois.com
Sun Feb 12 19:52:26 EST 2006


#695: ghcii.sh fails if ghc's path contains spaces
------------------------------------+---------------------------------------
    Reporter:  br1 at internet.com.uy  |        Owner:             
        Type:  bug                  |       Status:  new        
    Priority:  normal               |    Milestone:             
   Component:  GHCi                 |      Version:  6.4.1      
    Severity:  normal               |     Keywords:             
          Os:  Windows              |   Difficulty:  Easy (1 hr)
Architecture:  x86                  |  
------------------------------------+---------------------------------------
Invoking ghcii.sh from cygwin fails if ghc is installed in "C:\Program
 Files", because the path has spaces in it.  A fix is changing the line

 exec $0/../ghc --interactive ${1+"$@"}

 to

 exec "$0"/../ghc --interactive ${1+"$@"}

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/695>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the Glasgow-haskell-bugs mailing list