diff options
author | Joshua Root <jmr@macports.org> | 2023-10-18 13:02:36 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-18 13:02:36 (GMT) |
commit | cb1bf89c4066f30c80f7d1193b586a2ff8c40579 (patch) | |
tree | ac59fd959ea1039917e467bf6558d8a461dc45cc /Mac | |
parent | 3156d193b81f7fefbafa1a5299bc9588a6768956 (diff) | |
download | cpython-cb1bf89c4066f30c80f7d1193b586a2ff8c40579.zip cpython-cb1bf89c4066f30c80f7d1193b586a2ff8c40579.tar.gz cpython-cb1bf89c4066f30c80f7d1193b586a2ff8c40579.tar.bz2 |
gh-111015: Install IDLE.app and Python Launcher.app on macOS with correct permissions (gh-111016)
Co-authored-by: Ned Deily <nad@python.org>
Diffstat (limited to 'Mac')
-rw-r--r-- | Mac/Makefile.in | 2 | ||||
-rw-r--r-- | Mac/PythonLauncher/Makefile.in | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/Mac/Makefile.in b/Mac/Makefile.in index 78b4499..32e3a0f 100644 --- a/Mac/Makefile.in +++ b/Mac/Makefile.in @@ -257,6 +257,8 @@ install_IDLE: rm "$(DESTDIR)$(LIBDEST)/idlelib/config-extensions.def~" ; \ fi touch "$(DESTDIR)$(PYTHONAPPSDIR)/IDLE.app" + chmod -R ugo+rX,go-w "$(DESTDIR)$(PYTHONAPPSDIR)/IDLE.app" + chmod ugo+x "$(DESTDIR)$(PYTHONAPPSDIR)/IDLE.app/Contents/MacOS/IDLE" $(INSTALLED_PYTHONAPP): install_Python diff --git a/Mac/PythonLauncher/Makefile.in b/Mac/PythonLauncher/Makefile.in index 4c05f26..9decadb 100644 --- a/Mac/PythonLauncher/Makefile.in +++ b/Mac/PythonLauncher/Makefile.in @@ -27,6 +27,8 @@ install: Python\ Launcher.app -test -d "$(DESTDIR)$(PYTHONAPPSDIR)/Python Launcher.app" && rm -r "$(DESTDIR)$(PYTHONAPPSDIR)/Python Launcher.app" /bin/cp -r "Python Launcher.app" "$(DESTDIR)$(PYTHONAPPSDIR)" touch "$(DESTDIR)$(PYTHONAPPSDIR)/Python Launcher.app" + chmod -R ugo+rX,go-w "$(DESTDIR)$(PYTHONAPPSDIR)/Python Launcher.app" + chmod ugo+x "$(DESTDIR)$(PYTHONAPPSDIR)/Python Launcher.app/Contents/MacOS/Python Launcher" clean: rm -f *.o "Python Launcher" |