summaryrefslogtreecommitdiff
path: root/Mac/BuildScript/scripts
diff options
context:
space:
mode:
authorRonald Oussoren <ronaldoussoren@mac.com>2009-11-19 17:44:52 +0000
committerRonald Oussoren <ronaldoussoren@mac.com>2009-11-19 17:44:52 +0000
commit18685b461281e8ae7a7b3591899d1b09290e80a1 (patch)
tree4c18a2b62ba5dab05dc1ebbfb743fe0120b931e4 /Mac/BuildScript/scripts
parenta8d8291f3fb15ac10b88717fded22351c68a7cf3 (diff)
downloadcpython-18685b461281e8ae7a7b3591899d1b09290e80a1.tar.gz
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) ........
Diffstat (limited to 'Mac/BuildScript/scripts')
-rwxr-xr-xMac/BuildScript/scripts/postflight.patch-profile4
1 files changed, 2 insertions, 2 deletions
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