summaryrefslogtreecommitdiffstats
path: root/Mac
diff options
context:
space:
mode:
authorRonald Oussoren <ronaldoussoren@mac.com>2009-11-19 17:42:51 (GMT)
committerRonald Oussoren <ronaldoussoren@mac.com>2009-11-19 17:42:51 (GMT)
commit3934619da795258b4f9ae627a8be7043b8f6fffb (patch)
treed04b8237cea20eded61cee4a2cdc44595740d7d6 /Mac
parent315cd0c73939ff2b9a9dbef35986b129a0b3064e (diff)
downloadcpython-3934619da795258b4f9ae627a8be7043b8f6fffb.zip
cpython-3934619da795258b4f9ae627a8be7043b8f6fffb.tar.gz
cpython-3934619da795258b4f9ae627a8be7043b8f6fffb.tar.bz2
Don't use the '==' operator with test, that's an unportable bash-ism.
(Issue 7179)
Diffstat (limited to 'Mac')
-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 0c0e4ff..d9ff328 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