summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRonald Oussoren <ronaldoussoren@mac.com>2009-06-07 15:34:13 (GMT)
committerRonald Oussoren <ronaldoussoren@mac.com>2009-06-07 15:34:13 (GMT)
commit8e5bda46ca69b39e868e341ed6cf8846fcd5b95c (patch)
treef4712075f16c6482c797ca46425c25e3cede9adc
parentfe8a3d6eebd0143eefc616e4ec312439425a486d (diff)
downloadcpython-8e5bda46ca69b39e868e341ed6cf8846fcd5b95c.zip
cpython-8e5bda46ca69b39e868e341ed6cf8846fcd5b95c.tar.gz
cpython-8e5bda46ca69b39e868e341ed6cf8846fcd5b95c.tar.bz2
Fix symlink for 2to3 in framework install. Without this patch an incorrect link is created when DESTDIR is set.
-rw-r--r--Mac/Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mac/Makefile.in b/Mac/Makefile.in
index 7d88c4a..15531d8 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" ; \