diff --git a/Makefile.pre.in b/Makefile.pre.in index b36c6f3ad45..c767dd57da8 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in @@ -563,7 +563,7 @@ $(DESTSHARED): # Install the interpreter (by creating a hard link to python$(VERSION)) bininstall: altbininstall - -if test -f $(BINDIR)/$(PYTHON) -o -L $(BINDIR)/$(PYTHON); \ + -if test -f $(BINDIR)/$(PYTHON) -o -h $(BINDIR)/$(PYTHON); \ then rm -f $(BINDIR)/$(PYTHON); \ else true; \ fi