mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Fix for issue5224 ("Update Shell Profile.command" contains wrong Python version on OSX)
This commit is contained in:
parent
9e35004509
commit
bc448664af
2 changed files with 3 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue