summaryrefslogtreecommitdiff
path: root/driver
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2008-09-24 12:42:55 +0000
committerIan Lynagh <igloo@earth.li>2008-09-24 12:42:55 +0000
commite8173f39393bf2f458557092179d7dcf25aee703 (patch)
tree03ba3a2e1725df1ebf1caef6c6f2b24b59444d76 /driver
parenteda26ed7cf401fcf468b3c8e2a5f494f9f1fce34 (diff)
downloadhaskell-e8173f39393bf2f458557092179d7dcf25aee703.tar.gz
Use -f when making the runhaskell symlink
Otherwise installation fails if runhaskell already exists.
Diffstat (limited to 'driver')
-rw-r--r--driver/runhaskell/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/driver/runhaskell/Makefile b/driver/runhaskell/Makefile
index 585e8bcc8d..02df642571 100644
--- a/driver/runhaskell/Makefile
+++ b/driver/runhaskell/Makefile
@@ -6,7 +6,7 @@ install::
cp $(DESTDIR)$(bindir)/runghc.exe $(DESTDIR)$(bindir)/runhaskell.exe
else
install::
- ln -s runghc $(DESTDIR)$(bindir)/runhaskell
+ ln -sf runghc $(DESTDIR)$(bindir)/runhaskell
endif
include $(TOP)/mk/bindist.mk