logo       

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

lang.haskell.glasgow.bugs

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

#695: ghcii.sh fails if ghc's path contains spaces
------------------------------------+---------------------------------------
Reporter: br1@xxxxxxxxxxxxxxx | 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_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@xxxxxxxxxxx
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise