diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2002-08-09 14:42:57 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2002-08-09 14:42:57 (GMT) |
commit | 1403b9fecd40b5c9fdc8c2eabef457bf79c68eb5 (patch) | |
tree | a9b83745daa412c507f1727f15cc8f414777064a /Makefile.pre.in | |
parent | 45c8e92728e94b00369ac28c3765d0f3bad476db (diff) | |
download | cpython-1403b9fecd40b5c9fdc8c2eabef457bf79c68eb5.zip cpython-1403b9fecd40b5c9fdc8c2eabef457bf79c68eb5.tar.gz cpython-1403b9fecd40b5c9fdc8c2eabef457bf79c68eb5.tar.bz2 |
When installing the "python" link in bindir also test for a pre-existing
symlink and remove it.
Diffstat (limited to 'Makefile.pre.in')
-rw-r--r-- | Makefile.pre.in | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ $(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 |