]> granicus.if.org Git - python/commitdiff
Scripts runs with pythonw no longer had full window manager access due
authorJack Jansen <jack.jansen@cwi.nl>
Wed, 23 Jul 2003 10:49:17 +0000 (10:49 +0000)
committerJack Jansen <jack.jansen@cwi.nl>
Wed, 23 Jul 2003 10:49:17 +0000 (10:49 +0000)
to the name change of Python.app/Contents/MacOS/python to
Python.app/Contents/MacOS/Python. Fixes #776116.

Mac/OSX/Dist/resources/postflight
Mac/OSX/Makefile

index d1ba76f01deb9714b12ec81ca00acf0d5751dbeb..e5c7f9de22b0dc1fb7ad75bf1794bab69d0b54a1 100755 (executable)
@@ -32,7 +32,7 @@ ln -fsh python$PYVER $TOOLDIR/python
 rm -f $TOOLDIR/pythonw$PYVER
 cat > $TOOLDIR/pythonw$PYVER <<EOF
 #!/bin/sh
-exec "$DEST/Library/Frameworks/Python.framework/Versions/$PYVER/Resources/Python.app/Contents/MacOS/python" "\$@"
+exec "$DEST/Library/Frameworks/Python.framework/Versions/$PYVER/Resources/Python.app/Contents/MacOS/Python" "\$@"
 EOF
 chmod +x $TOOLDIR/pythonw$PYVER
 ln -fsh pythonw$PYVER $TOOLDIR/pythonw
index 729f1ef516da00182ccfc9e69af2f3d93079c8e7..4908ee3c81bdd6adb11eb77e2749f6facde67c1b 100644 (file)
@@ -18,7 +18,7 @@ APPINSTALLDIR=$(prefix)/Resources/Python.app
 
 # Variables for installing the "normal" unix binaries
 INSTALLED_PYTHON=$(prefix)/bin/python
-INSTALLED_PYTHONW=$(APPINSTALLDIR)/Contents/MacOS/python
+INSTALLED_PYTHONW=$(APPINSTALLDIR)/Contents/MacOS/Python
 
 # Items more-or-less copied from the main Makefile
 DIRMODE=755
@@ -230,7 +230,7 @@ installmacsubtree:
 # We use the full name here in stead of $(INSTALLED_PYTHONW), because
 # the latter may be overridden by Makefile.jaguar when building for a pre-installed
 # /usr/bin/python
-$(APPINSTALLDIR)/Contents/MacOS/python: install_Python
+$(APPINSTALLDIR)/Contents/MacOS/Python: install_Python
 
 # $(INSTALLED_PYTHON) has to be done by the main Makefile, we cannot do that here.
 # At least this rule will give an error if it doesn't exist.