From: Ronald Oussoren Date: Thu, 19 Nov 2009 17:44:52 +0000 (+0000) Subject: Merged revisions 76407 via svnmerge from X-Git-Tag: v3.2a1~2151 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b82c20737338fe32f21370945b5a79fe9bbda5fd;p=python 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) ........ --- diff --git a/Mac/BuildScript/scripts/postflight.patch-profile b/Mac/BuildScript/scripts/postflight.patch-profile index c33fbeae2c..cbf41629af 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