Commit 8e5bda46 authored by Ronald Oussoren's avatar Ronald Oussoren

Fix symlink for 2to3 in framework install. Without this patch an incorrect...

Fix symlink for 2to3 in framework install. Without this patch an incorrect link is created when DESTDIR is set.
parent fe8a3d6e
......@@ -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" ; \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment