mirror of
https://github.com/python/cpython.git
synced 2025-08-17 23:31:09 +00:00
Merged revisions 70167 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r70167 | ronald.oussoren | 2009-03-04 22:07:19 +0100 (Wed, 04 Mar 2009) | 2 lines Fix issue 5224. ........
This commit is contained in:
parent
857c00e0fd
commit
03674a3855
2 changed files with 3 additions and 4 deletions
|
@ -1031,8 +1031,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(),))
|
||||||
|
|
|
@ -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.6
|
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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue