fix for when path to GHC contains spaces, from #695
authorSimon Marlow <simonmar@microsoft.com>
Thu, 22 Jun 2006 13:17:00 +0000 (13:17 +0000)
committerSimon Marlow <simonmar@microsoft.com>
Thu, 22 Jun 2006 13:17:00 +0000 (13:17 +0000)
driver/ghci/ghcii.sh

index 70d9898..10488b8 100644 (file)
@@ -1,3 +1,3 @@
 #!/bin/sh
 # Mini-driver for GHCi
-exec $0/../ghc --interactive ${1+"$@"}
+exec "$0"/../ghc --interactive ${1+"$@"}