From: Ronald Oussoren Date: Sun, 7 Jun 2009 15:34:13 +0000 (+0000) Subject: Fix symlink for 2to3 in framework install. Without this patch an incorrect link is... X-Git-Tag: v3.1rc2~51 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8e5bda46ca69b39e868e341ed6cf8846fcd5b95c;p=python Fix symlink for 2to3 in framework install. Without this patch an incorrect link is created when DESTDIR is set. --- diff --git a/Mac/Makefile.in b/Mac/Makefile.in index 7d88c4a0d3..15531d865f 100644 --- a/Mac/Makefile.in +++ b/Mac/Makefile.in @@ -132,7 +132,7 @@ install_versionedtools: 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" ; \