Use -f when making the runhaskell symlink
authorIan Lynagh <igloo@earth.li>
Wed, 24 Sep 2008 12:42:55 +0000 (12:42 +0000)
committerIan Lynagh <igloo@earth.li>
Wed, 24 Sep 2008 12:42:55 +0000 (12:42 +0000)
Otherwise installation fails if runhaskell already exists.

driver/runhaskell/Makefile

index 585e8bc..02df642 100644 (file)
@@ -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