From 8e5bda46ca69b39e868e341ed6cf8846fcd5b95c Mon Sep 17 00:00:00 2001 From: Ronald Oussoren Date: Sun, 7 Jun 2009 15:34:13 +0000 Subject: [PATCH] Fix symlink for 2to3 in framework install. Without this patch an incorrect link is created when DESTDIR is set. --- Mac/Makefile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Mac/Makefile.in b/Mac/Makefile.in index 7d88c4a0d34..15531d865f6 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" ; \