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
commit8e5bda46ca69b39e868e341ed6cf8846fcd5b95c (patch)
treef4712075f16c6482c797ca46425c25e3cede9adc /Mac
parentfe8a3d6eebd0143eefc616e4ec312439425a486d (diff)
downloadcpython-git-8e5bda46ca69b39e868e341ed6cf8846fcd5b95c.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" ; \