Mercurial > cpython-lru_cache-weakref
diff Mac/BuildScript/scripts/postflight.patch-profile @ 57359:b96ae3d8adfd 2.6
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)
........
| author | Ronald Oussoren <ronaldoussoren@mac.com> |
|---|---|
| date | Thu, 19 Nov 2009 17:43:53 +0000 |
| parents | eb2c35dd225a |
| children | b36cb4602e21 |
line wrap: on
line diff
--- a/Mac/BuildScript/scripts/postflight.patch-profile Thu Nov 19 16:37:33 2009 +0000 +++ b/Mac/BuildScript/scripts/postflight.patch-profile Thu Nov 19 17:43:53 2009 +0000 @@ -36,10 +36,10 @@ # 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
