summaryrefslogtreecommitdiff
path: root/Mac
diff options
context:
space:
mode:
authorRonald Oussoren <ronaldoussoren@mac.com>2009-06-07 15:34:13 +0000
committerRonald Oussoren <ronaldoussoren@mac.com>2009-06-07 15:34:13 +0000
commit126bef7718287b1754eb128448eb1070caf3f506 (patch)
tree6e69c203e271b853a38fa2e95b24ccc2b3298d66 /Mac
parentf554c45c1108fa2dfaadd55f41d97e155ea994b3 (diff)
downloadcpython-126bef7718287b1754eb128448eb1070caf3f506.tar.gz
Fix symlink for 2to3 in framework install. Without this patch an incorrect link is created when DESTDIR is set.
Diffstat (limited to 'Mac')
-rw-r--r--Mac/Makefile.in2
1 files changed, 1 insertions, 1 deletions
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" ; \