Opened 10 years ago

Closed 9 years ago

Last modified 6 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: Test Case:
Blocked By: Blocking:
Related Tickets: Differential Revisions:

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 9 years ago by simonmar

  • Resolution set to fixed
  • Status changed from new to closed

fix applied, thanks.

comment:2 Changed 6 years ago by simonmar

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