commit | 1403b9fecd40b5c9fdc8c2eabef457bf79c68eb5 | [log] [tgz] |
---|---|---|
author | Jack Jansen <jack.jansen@cwi.nl> | Fri Aug 09 14:42:57 2002 +0000 |
committer | Jack Jansen <jack.jansen@cwi.nl> | Fri Aug 09 14:42:57 2002 +0000 |
tree | a9b83745daa412c507f1727f15cc8f414777064a | |
parent | 45c8e92728e94b00369ac28c3765d0f3bad476db [diff] [blame] |
When installing the "python" link in bindir also test for a pre-existing symlink and remove it.
diff --git a/Makefile.pre.in b/Makefile.pre.in index 985e73e..6d1af49 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in
@@ -560,7 +560,7 @@ # 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