diff options
author | Georg Brandl <georg@python.org> | 2007-09-07 20:10:49 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2007-09-07 20:10:49 (GMT) |
commit | bd9d544f8ddc1922756b42871965dfa2841ff4b3 (patch) | |
tree | d011058e2c06adeb0f2a22d02206f381302d0d2a | |
parent | 8360d5de7e7497c9f4f83c7d43d0b20bf4316d88 (diff) | |
download | cpython-bd9d544f8ddc1922756b42871965dfa2841ff4b3.zip cpython-bd9d544f8ddc1922756b42871965dfa2841ff4b3.tar.gz cpython-bd9d544f8ddc1922756b42871965dfa2841ff4b3.tar.bz2 |
#1095: ln -f doesn't work portably, fix in Makefile.
-rw-r--r-- | Makefile.pre.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in index bafeb2b..326d04b 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in @@ -660,7 +660,8 @@ bininstall: altbininstall else true; \ fi (cd $(DESTDIR)$(BINDIR); $(LN) python$(VERSION)$(EXE) $(PYTHON)) - (cd $(DESTDIR)$(BINDIR); $(LN) -sf python$(VERSION)-config python-config) + -rm -f $(DESTDIR)$(BINDIR)/python-config + (cd $(DESTDIR)$(BINDIR); $(LN) -s python$(VERSION)-config python-config) # Install the interpreter with $(VERSION) affixed # This goes into $(exec_prefix) |