aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Mac/BuildScript/scripts
diff options
context:
space:
mode:
authorRonald Oussoren <ronaldoussoren@mac.com>2009-02-12 16:08:14 +0000
committerRonald Oussoren <ronaldoussoren@mac.com>2009-02-12 16:08:14 +0000
commitbc448664af5add9f76400c1a8aee0e4324bc609b (patch)
tree986b8c4fa7fcaf6f7a06dd9476e11b3f44262822 /Mac/BuildScript/scripts
parent9e35004509f3744a6ee51e89540b8ff41d0d73c9 (diff)
downloadcpython-bc448664af5add9f76400c1a8aee0e4324bc609b.tar.gz
cpython-bc448664af5add9f76400c1a8aee0e4324bc609b.zip
Fix for issue5224 ("Update Shell Profile.command" contains wrong Python version on OSX)
Diffstat (limited to 'Mac/BuildScript/scripts')
-rwxr-xr-xMac/BuildScript/scripts/postflight.patch-profile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Mac/BuildScript/scripts/postflight.patch-profile b/Mac/BuildScript/scripts/postflight.patch-profile
index 5e82f331cfa..4a998c8c3c0 100755
--- a/Mac/BuildScript/scripts/postflight.patch-profile
+++ b/Mac/BuildScript/scripts/postflight.patch-profile
@@ -5,8 +5,8 @@ echo "of python is not early enough of the PATH of your shell."
echo "These changes will be effective only in shell windows that you open"
echo "after running this script."
-PYVER=2.5
-PYTHON_ROOT="/Library/Frameworks/Python.framework/Versions/Current"
+PYVER=@PYVER@
+PYTHON_ROOT="/Library/Frameworks/Python.framework/Versions/@PYVER@"
if [ `id -ur` = 0 ]; then
# Run from the installer, do some trickery to fetch the information