Ticket #695 (closed bug: fixed)

Opened 7 years ago

Last modified 4 years ago

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

Changed 7 years ago by simonmar

  • status changed from new to closed
  • resolution set to fixed

fix applied, thanks.

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.