Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1403b9f

Browse files
committed
When installing the "python" link in bindir also test for a pre-existing
symlink and remove it.
1 parent 45c8e92 commit 1403b9f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Makefile.pre.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -560,7 +560,7 @@ $(DESTSHARED):
560560

561561
# Install the interpreter (by creating a hard link to python$(VERSION))
562562
bininstall: altbininstall
563-
-if test -f $(BINDIR)/$(PYTHON); \
563+
-if test -f $(BINDIR)/$(PYTHON) -o -L $(BINDIR)/$(PYTHON); \
564564
then rm -f $(BINDIR)/$(PYTHON); \
565565
else true; \
566566
fi

0 commit comments

Comments
 (0)