]> granicus.if.org Git - python/commitdiff
Merged revisions 76409 via svnmerge from
authorRonald Oussoren <ronaldoussoren@mac.com>
Thu, 19 Nov 2009 17:45:30 +0000 (17:45 +0000)
committerRonald Oussoren <ronaldoussoren@mac.com>
Thu, 19 Nov 2009 17:45:30 +0000 (17:45 +0000)
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)
  ........
................

Mac/BuildScript/scripts/postflight.patch-profile

index c33fbeae2cc3215776c517d99aefe8e1b0f31fec..cbf41629af0d07f432d4e4b13b0d2d4b9ac7f657 100755 (executable)
@@ -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