[Python-checkins] r73269 - python/branches/py3k/Mac/Makefile.in

ronald.oussoren python-checkins at python.org
Sun Jun 7 17:34:13 CEST 2009


Author: ronald.oussoren
Date: Sun Jun  7 17:34:13 2009
New Revision: 73269

Log:
Fix symlink for 2to3 in framework install. Without this patch an incorrect link is created when DESTDIR is set.


Modified:
   python/branches/py3k/Mac/Makefile.in

Modified: python/branches/py3k/Mac/Makefile.in
==============================================================================
--- python/branches/py3k/Mac/Makefile.in	(original)
+++ python/branches/py3k/Mac/Makefile.in	Sun Jun  7 17:34:13 2009
@@ -132,7 +132,7 @@
 		ln -sf "$${fn}$(VERSION)" "$(DESTDIR)$(prefix)/bin/$${fn}3" ;\
 	done
 	mv "$(DESTDIR)$(prefix)/bin/2to3" "$(DESTDIR)$(prefix)/bin/2to3-$(VERSION)"
-	ln -sf "$(DESTDIR)$(prefix)/bin/2to3-$(VERSION)" "$(DESTDIR)$(prefix)/bin/2to3"
+	ln -sf "2to3-$(VERSION)" "$(DESTDIR)$(prefix)/bin/2to3"
 	if [ ! -h "$(DESTDIR)$(prefix)/bin/python3-config" ]; then \
 		mv "$(DESTDIR)$(prefix)/bin/python3-config" "$(DESTDIR)$(prefix)/bin/python$(VERSION)-config" ;\
 		ln -sf "python$(VERSION)-config" "$(DESTDIR)$(prefix)/bin/python3-config" ; \


More information about the Python-checkins mailing list