Opened 12 years ago

Closed 11 years ago

Last modified 8 years ago

#695 closed bug (fixed)

ghcii.sh fails if ghc's path contains spaces

Reported by: br1@… Owned by:
Priority: normal Milestone:
Component: GHCi Version: 6.4.1
Keywords: Cc:
Operating System: Windows Architecture: x86
Type of failure: None/Unknown Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:

Description

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+"$@"}

Change History (2)

comment:1 Changed 11 years ago by simonmar

Resolution: fixed
Status: newclosed

fix applied, thanks.

comment:2 Changed 8 years ago by simonmar

difficulty: Easy (1 hr)Easy (less than 1 hour)
Note: See TracTickets for help on using tickets.