Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
bc448664
Commit
bc448664
authored
Feb 12, 2009
by
Ronald Oussoren
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix for issue5224 ("Update Shell Profile.command" contains wrong Python version on OSX)
parent
9e350045
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
Mac/BuildScript/build-installer.py
Mac/BuildScript/build-installer.py
+1
-2
Mac/BuildScript/scripts/postflight.patch-profile
Mac/BuildScript/scripts/postflight.patch-profile
+2
-2
No files found.
Mac/BuildScript/build-installer.py
View file @
bc448664
...
@@ -1033,8 +1033,7 @@ def main():
...
@@ -1033,8 +1033,7 @@ def main():
buildPythonDocs
()
buildPythonDocs
()
fn
=
os
.
path
.
join
(
WORKDIR
,
"_root"
,
"Applications"
,
fn
=
os
.
path
.
join
(
WORKDIR
,
"_root"
,
"Applications"
,
"Python %s"
%
(
getVersion
(),),
"Update Shell Profile.command"
)
"Python %s"
%
(
getVersion
(),),
"Update Shell Profile.command"
)
patchFile
(
"scripts/postflight.patch-profile"
,
fn
)
patchScript
(
"scripts/postflight.patch-profile"
,
fn
)
os
.
chmod
(
fn
,
0755
)
folder
=
os
.
path
.
join
(
WORKDIR
,
"_root"
,
"Applications"
,
"Python %s"
%
(
folder
=
os
.
path
.
join
(
WORKDIR
,
"_root"
,
"Applications"
,
"Python %s"
%
(
getVersion
(),))
getVersion
(),))
...
...
Mac/BuildScript/scripts/postflight.patch-profile
View file @
bc448664
...
@@ -5,8 +5,8 @@ echo "of python is not early enough of the PATH of your shell."
...
@@ -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
"These changes will be effective only in shell windows that you open"
echo
"after running this script."
echo
"after running this script."
PYVER
=
2.5
PYVER
=
@PYVER@
PYTHON_ROOT
=
"/Library/Frameworks/Python.framework/Versions/
Current
"
PYTHON_ROOT
=
"/Library/Frameworks/Python.framework/Versions/
@PYVER@
"
if
[
`
id
-ur
`
=
0
]
;
then
if
[
`
id
-ur
`
=
0
]
;
then
# Run from the installer, do some trickery to fetch the information
# Run from the installer, do some trickery to fetch the information
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment