summaryrefslogtreecommitdiff
path: root/driver/ghci
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2007-09-05 16:13:54 +0000
committerIan Lynagh <igloo@earth.li>2007-09-05 16:13:54 +0000
commitb18545dd4fc38d2c78d18966d1d9e38474c799e9 (patch)
tree1041c89127ba430ce9125a8eb2cf988c85ca0eff /driver/ghci
parentcafb1e0f6bb93fb720e3bb3432c777cd9736bf80 (diff)
downloadhaskell-b18545dd4fc38d2c78d18966d1d9e38474c799e9.tar.gz
Fix bindist creation on Windows
Diffstat (limited to 'driver/ghci')
-rw-r--r--driver/ghci/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/driver/ghci/Makefile b/driver/ghci/Makefile
index c3fad1541b..bc3d0bb914 100644
--- a/driver/ghci/Makefile
+++ b/driver/ghci/Makefile
@@ -17,7 +17,7 @@ endif
ifeq "$(TARGETPLATFORM)" "i386-unknown-mingw32"
INSTALL_PROGS += $(C_PROG)
-GHCII_SCRIPT=$(bindir)/ghcii.sh
+GHCII_SCRIPT=$(DESTDIR)$(bindir)/ghcii.sh
install::
$(RM) -f $(GHCII_SCRIPT)
echo "#!$(SHELL)" >> $(GHCII_SCRIPT)