[Python-checkins] r58044 - python/branches/release25-maint/Makefile.pre.in
georg.brandl
python-checkins at python.org
Fri Sep 7 22:12:59 CEST 2007
Author: georg.brandl
Date: Fri Sep 7 22:12:59 2007
New Revision: 58044
Modified:
python/branches/release25-maint/Makefile.pre.in
Log:
Backport: #1095: ln -f doesn't work portably.
Modified: python/branches/release25-maint/Makefile.pre.in
==============================================================================
--- python/branches/release25-maint/Makefile.pre.in (original)
+++ python/branches/release25-maint/Makefile.pre.in Fri Sep 7 22:12:59 2007
@@ -656,7 +656,8 @@
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)
More information about the Python-checkins
mailing list