From 1403b9fecd40b5c9fdc8c2eabef457bf79c68eb5 Mon Sep 17 00:00:00 2001 From: Jack Jansen Date: Fri, 9 Aug 2002 14:42:57 +0000 Subject: [PATCH] When installing the "python" link in bindir also test for a pre-existing symlink and remove it. --- Makefile.pre.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.pre.in b/Makefile.pre.in index 985e73ea58..6d1af49686 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in @@ -560,7 +560,7 @@ $(DESTSHARED): # Install the interpreter (by creating a hard link to python$(VERSION)) bininstall: altbininstall - -if test -f $(BINDIR)/$(PYTHON); \ + -if test -f $(BINDIR)/$(PYTHON) -o -L $(BINDIR)/$(PYTHON); \ then rm -f $(BINDIR)/$(PYTHON); \ else true; \ fi -- 2.40.0