diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2003-05-09 15:09:50 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2003-05-09 15:09:50 (GMT) |
commit | bc06feae9c0ea8c937986b39882ac53dc0452a1b (patch) | |
tree | f37a9c7fae995718594f9029bea42c0c84498011 | |
parent | a226b5723a780bd96ba5c9ecb9c05f578ceacc72 (diff) | |
download | cpython-bc06feae9c0ea8c937986b39882ac53dc0452a1b.zip cpython-bc06feae9c0ea8c937986b39882ac53dc0452a1b.tar.gz cpython-bc06feae9c0ea8c937986b39882ac53dc0452a1b.tar.bz2 |
Pydoc also needs its #! line massaged. Fixes #733199.
-rwxr-xr-x | Mac/OSX/Dist/resources/postflight | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/Mac/OSX/Dist/resources/postflight b/Mac/OSX/Dist/resources/postflight index e7cb8f2..0e95f9d 100755 --- a/Mac/OSX/Dist/resources/postflight +++ b/Mac/OSX/Dist/resources/postflight @@ -67,7 +67,7 @@ if [ "$DEST" = "/" ]; then fi -# The link in the app bundles needs updated. +# The link in the app bundles and in pydoc need updating. installed_python=$DEST/Library/Frameworks/Python.framework/Versions/$PYVER/Resources/Python.app/Contents/MacOS/python for app in BuildApplet IDLE PackageManager PythonIDE; do ln -fsh $installed_python \ @@ -79,5 +79,11 @@ for app in BuildApplet IDLE PackageManager PythonIDE; do w q xyzzy - +ed -s $DEST/Library/Frameworks/Python.framework/Versions/$PYVER/bin/pydoc << xyzzy +1c +#!$installed_python +. +w +q +xyzzy done |