Georg Brandl added the comment:
[Martin]
> I'm not sure why we bother checking whether the old file exists before
> removing it, instead of just doing 'rm -f'; that has been there since
> r6352 with no explanation given.
So would this patch be acceptable?
Index: Makefile.pre.in
===================================================================
--- Makefile.pre.in (Revision 57865)
+++ Makefile.pre.in (Arbeitskopie)
@@ -655,7 +655,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)
__________________________________
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1095>
__________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com