When installing the "python" link in bindir also test for a pre-existing

symlink and remove it.
This commit is contained in:
Jack Jansen 2002-08-09 14:42:57 +00:00
parent 45c8e92728
commit 1403b9fecd
1 changed files with 1 additions and 1 deletions

View File

@ -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