Mercurial > cpython-lru_cache-weakref
diff Mac/BuildScript/scripts/postflight.patch-profile @ 51564:acdb32341d87 3.0
Merged revisions 69544 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r69544 | ronald.oussoren | 2009-02-12 17:08:14 +0100 (Thu, 12 Feb 2009) | 2 lines
Fix for issue5224 ("Update Shell Profile.command" contains wrong Python version on OSX)
........
| author | Ronald Oussoren <ronaldoussoren@mac.com> |
|---|---|
| date | Thu, 12 Feb 2009 16:09:09 +0000 |
| parents | cc992d75d5b3 |
| children | c7fd741c72eb |
line wrap: on
line diff
--- a/Mac/BuildScript/scripts/postflight.patch-profile Thu Feb 12 16:03:30 2009 +0000 +++ b/Mac/BuildScript/scripts/postflight.patch-profile Thu Feb 12 16:09:09 2009 +0000 @@ -5,8 +5,8 @@ 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
