mirror of
https://github.com/python/cpython.git
synced 2025-11-23 11:57:09 +00:00
Fix buglet in postinstall script, it would generate an invalid .cshrc file.
This commit is contained in:
parent
03fb444990
commit
072a24c33a
1 changed files with 1 additions and 1 deletions
|
|
@ -41,7 +41,7 @@ case "${BSH}" in
|
||||||
echo "" >> "${HOME}/.cshrc"
|
echo "" >> "${HOME}/.cshrc"
|
||||||
echo "# Setting PATH for MacPython ${PYVER}" >> "${HOME}/.cshrc"
|
echo "# Setting PATH for MacPython ${PYVER}" >> "${HOME}/.cshrc"
|
||||||
echo "# The orginal version is saved in .cshrc.pysave" >> "${HOME}/.cshrc"
|
echo "# The orginal version is saved in .cshrc.pysave" >> "${HOME}/.cshrc"
|
||||||
echo "setenv path=(${PYTHON_ROOT}/bin "'$path'")" >> "${HOME}/.cshrc"
|
echo "set path=(${PYTHON_ROOT}/bin "'$path'")" >> "${HOME}/.cshrc"
|
||||||
exit 0
|
exit 0
|
||||||
;;
|
;;
|
||||||
bash)
|
bash)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue