Skip to content

Commit b82c207

Browse files
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) ........
1 parent 3c1928a commit b82c207

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Mac/BuildScript/scripts/postflight.patch-profile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@ esac
3636
# Now ensure that our bin directory is on $P and before /usr/bin at that
3737
for elem in `echo $P | tr ':' ' '`
3838
do
39-
if [ "${elem}" == "${PYTHON_ROOT}/bin" ]; then
39+
if [ "${elem}" = "${PYTHON_ROOT}/bin" ]; then
4040
echo "All right, you're a python lover already"
4141
exit 0
42-
elif [ "${elem}" == "/usr/bin" ]; then
42+
elif [ "${elem}" = "/usr/bin" ]; then
4343
break
4444
fi
4545
done

0 commit comments

Comments
 (0)