diff options
author | Ronald Oussoren <ronaldoussoren@mac.com> | 2009-11-19 17:45:30 (GMT) |
---|---|---|
committer | Ronald Oussoren <ronaldoussoren@mac.com> | 2009-11-19 17:45:30 (GMT) |
commit | 8c9695cf986c20928a29bed4529c42565a364db7 (patch) | |
tree | 9cf350d0708ae055a28c82eb1fc09bcdb05dd1c7 | |
parent | 1b2cad00c7fa2280917cb62ecccb3e129d9299c9 (diff) | |
download | cpython-8c9695cf986c20928a29bed4529c42565a364db7.zip cpython-8c9695cf986c20928a29bed4529c42565a364db7.tar.gz cpython-8c9695cf986c20928a29bed4529c42565a364db7.tar.bz2 |
Merged revisions 76409 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r76409 | ronald.oussoren | 2009-11-19 18:44:52 +0100 (Thu, 19 Nov 2009) | 11 lines
Merged revisions 76407 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76407 | ronald.oussoren | 2009-11-19 18:42:51 +0100 (Thu, 19 Nov 2009) | 4 lines
Don't use the '==' operator with test, that's an unportable bash-ism.
(Issue 7179)
........
................
-rwxr-xr-x | Mac/BuildScript/scripts/postflight.patch-profile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Mac/BuildScript/scripts/postflight.patch-profile b/Mac/BuildScript/scripts/postflight.patch-profile index c33fbea..cbf4162 100755 --- a/Mac/BuildScript/scripts/postflight.patch-profile +++ b/Mac/BuildScript/scripts/postflight.patch-profile @@ -36,10 +36,10 @@ esac # Now ensure that our bin directory is on $P and before /usr/bin at that for elem in `echo $P | tr ':' ' '` do - if [ "${elem}" == "${PYTHON_ROOT}/bin" ]; then + if [ "${elem}" = "${PYTHON_ROOT}/bin" ]; then echo "All right, you're a python lover already" exit 0 - elif [ "${elem}" == "/usr/bin" ]; then + elif [ "${elem}" = "/usr/bin" ]; then break fi done |