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
9af73802
Commit
9af73802
authored
Sep 28, 2010
by
Ronald Oussoren
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add support for the ZSH shell to the "Update Shell Profile" script
on MacOSX. Patch by Sylvain Mora, issue #9701.
parent
a0b551ac
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletion
+8
-1
Mac/BuildScript/scripts/postflight.patch-profile
Mac/BuildScript/scripts/postflight.patch-profile
+4
-1
Misc/NEWS
Misc/NEWS
+4
-0
No files found.
Mac/BuildScript/scripts/postflight.patch-profile
View file @
9af73802
...
...
@@ -20,7 +20,7 @@ fi
# Make sure the directory ${PYTHON_ROOT}/bin is on the users PATH.
BSH
=
"
`
basename
"
${
theShell
}
"
`
"
case
"
${
BSH
}
"
in
bash|ksh|sh|
*
csh
)
bash|ksh|sh|
*
csh
|zsh
)
if
[
`
id
-ur
`
=
0
]
;
then
P
=
`
su -
${
USER
}
-c
'echo A-X-4-X@@$PATH@@X-4-X-A'
|
grep
'A-X-4-X@@.*@@X-4-X-A'
|
sed
-e
's/^A-X-4-X@@//g'
-e
's/@@X-4-X-A$//g'
`
else
...
...
@@ -76,6 +76,9 @@ bash)
PR
=
"
${
HOME
}
/.bash_profile"
fi
;;
zsh
)
PR
=
"
${
HOME
}
/.zprofile"
;;
*
sh
)
PR
=
"
${
HOME
}
/.profile"
;;
...
...
Misc/NEWS
View file @
9af73802
...
...
@@ -286,6 +286,10 @@ Build
- Issue #4026: Make the fcntl extension build under AIX. Patch by Sébastien
Sablé.
- Issue #9701: The MacOSX installer can patch the shell profile to ensure that
the "bin" directory inside the framework is on the shell's search path. This
feature now also supports the ZSH shell.
What's New in Python 3.2 Alpha 2?
=================================
...
...
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