From: Jack Jansen Date: Fri, 9 May 2003 15:09:50 +0000 (+0000) Subject: Pydoc also needs its #! line massaged. Fixes #733199. X-Git-Tag: v2.3c1~781 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bc06feae9c0ea8c937986b39882ac53dc0452a1b;p=python Pydoc also needs its #! line massaged. Fixes #733199. --- diff --git a/Mac/OSX/Dist/resources/postflight b/Mac/OSX/Dist/resources/postflight index e7cb8f2c96..0e95f9deda 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