mirror of
https://github.com/python/cpython.git
synced 2025-11-02 19:12:55 +00:00
Fix symlink for 2to3 in framework install. Without this patch an incorrect link is created when DESTDIR is set.
This commit is contained in:
parent
fe8a3d6eeb
commit
8e5bda46ca
1 changed files with 1 additions and 1 deletions
|
|
@ -132,7 +132,7 @@ install_versionedtools:
|
||||||
ln -sf "$${fn}$(VERSION)" "$(DESTDIR)$(prefix)/bin/$${fn}3" ;\
|
ln -sf "$${fn}$(VERSION)" "$(DESTDIR)$(prefix)/bin/$${fn}3" ;\
|
||||||
done
|
done
|
||||||
mv "$(DESTDIR)$(prefix)/bin/2to3" "$(DESTDIR)$(prefix)/bin/2to3-$(VERSION)"
|
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 \
|
if [ ! -h "$(DESTDIR)$(prefix)/bin/python3-config" ]; then \
|
||||||
mv "$(DESTDIR)$(prefix)/bin/python3-config" "$(DESTDIR)$(prefix)/bin/python$(VERSION)-config" ;\
|
mv "$(DESTDIR)$(prefix)/bin/python3-config" "$(DESTDIR)$(prefix)/bin/python$(VERSION)-config" ;\
|
||||||
ln -sf "python$(VERSION)-config" "$(DESTDIR)$(prefix)/bin/python3-config" ; \
|
ln -sf "python$(VERSION)-config" "$(DESTDIR)$(prefix)/bin/python3-config" ; \
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue