summaryrefslogtreecommitdiff
path: root/driver
diff options
context:
space:
mode:
authorSimon Marlow <simonmar@microsoft.com>2006-06-22 13:17:00 +0000
committerSimon Marlow <simonmar@microsoft.com>2006-06-22 13:17:00 +0000
commit4762f3d9939acc23683cd97cdbd4ab47edadc878 (patch)
tree829af86c23e57e9b5041ecf79d286236d7b51a12 /driver
parent5542157cd86728ddb9e68a61a4537d2f6c902d60 (diff)
downloadhaskell-4762f3d9939acc23683cd97cdbd4ab47edadc878.tar.gz
fix for when path to GHC contains spaces, from #695
Diffstat (limited to 'driver')
-rw-r--r--driver/ghci/ghcii.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/driver/ghci/ghcii.sh b/driver/ghci/ghcii.sh
index 70d98988b8..10488b8d5b 100644
--- a/driver/ghci/ghcii.sh
+++ b/driver/ghci/ghcii.sh
@@ -1,3 +1,3 @@
#!/bin/sh
# Mini-driver for GHCi
-exec $0/../ghc --interactive ${1+"$@"}
+exec "$0"/../ghc --interactive ${1+"$@"}