Ignore:
Timestamp:
Mar 19, 2014, 11:31:01 PM (11 years ago)
Author:
dmik
Message:

python: Merge vendor 2.7.6 to trunk.

Location:
python/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • python/trunk

  • python/trunk/Mac/BuildScript/scripts/postflight.patch-profile

    r2 r391  
    2121BSH="`basename "${theShell}"`"
    2222case "${BSH}" in
    23 bash|ksh|sh|*csh)
     23bash|ksh|sh|*csh|zsh)
    2424        if [ `id -ur` = 0 ]; then
    2525                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'`
     
    5858        fi
    5959        echo "" >> "${RC}"
    60         echo "# Setting PATH for MacPython ${PYVER}" >> "${RC}"
     60        echo "# Setting PATH for Python ${PYVER}" >> "${RC}"
    6161        echo "# The orginal version is saved in .cshrc.pysave" >> "${RC}"
    6262        echo "set path=(${PYTHON_ROOT}/bin "'$path'")" >> "${RC}"
     
    7777        fi
    7878        ;;
     79zsh)
     80        PR="${HOME}/.zprofile"
     81        ;;
    7982*sh)
    8083        PR="${HOME}/.profile"
     
    8790fi
    8891echo "" >> "${PR}"
    89 echo "# Setting PATH for MacPython ${PYVER}" >> "${PR}"
     92echo "# Setting PATH for Python ${PYVER}" >> "${PR}"
    9093echo "# The orginal version is saved in `basename ${PR}`.pysave" >> "${PR}"
    9194echo 'PATH="'"${PYTHON_ROOT}/bin"':${PATH}"' >> "${PR}"
Note: See TracChangeset for help on using the changeset viewer.