Opened 8 years ago

Closed 8 years ago

Last modified 4 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: Difficulty: Easy (less than 1 hour)
Test Case: Blocked By:
Blocking: Related Tickets:

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

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

fix applied, thanks.

comment:2 Changed 4 years ago by simonmar

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