Commit 650c6eb9 authored by Jack Jansen's avatar Jack Jansen

Install "python$(VERSION)" into /usr/local as the symlink to the framework,

and also create a symlink "python" pointing to "python$(VERSION)".
Fixes #675745.
parent fcfc9a58
......@@ -205,7 +205,9 @@ $(APPINSTALLDIR)/Contents/MacOS/python: install_Python
installunixtools: $(INSTALLED_PYTHON) $(INSTALLED_PYTHONW)
$(INSTALL) -d $(bindir)
$(INSTALL_SYMLINK) $(INSTALLED_PYTHON) $(bindir)/python
$(INSTALL_SYMLINK) $(INSTALLED_PYTHON) $(bindir)/python$(VERSION)
$(INSTALL_SYMLINK) python$(VERSION) $(bindir)/python
echo "#!/bin/sh" > pythonw.sh
echo "exec \"$(INSTALLED_PYTHONW)\" \"\$$@\"" >> pythonw.sh
$(INSTALL) pythonw.sh $(bindir)/pythonw
$(INSTALL) pythonw.sh $(bindir)/pythonw$(VERSION)
$(INSTALL_SYMLINK) pythonw$(VERSION) $(bindir)/pythonw
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