diff options
| author | Georg Brandl <georg@python.org> | 2007-09-07 20:10:49 +0000 |
|---|---|---|
| committer | Georg Brandl <georg@python.org> | 2007-09-07 20:10:49 +0000 |
| commit | bd9d544f8ddc1922756b42871965dfa2841ff4b3 (patch) | |
| tree | d011058e2c06adeb0f2a22d02206f381302d0d2a /Makefile.pre.in | |
| parent | 8360d5de7e7497c9f4f83c7d43d0b20bf4316d88 (diff) | |
| download | cpython-git-bd9d544f8ddc1922756b42871965dfa2841ff4b3.tar.gz | |
#1095: ln -f doesn't work portably, fix in Makefile.
Diffstat (limited to 'Makefile.pre.in')
| -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 bafeb2baaa..326d04b198 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) |
