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
|
@ -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…
Reference in New Issue