Commit 3934619d authored by Ronald Oussoren's avatar Ronald Oussoren

Don't use the '==' operator with test, that's an unportable bash-ism.

(Issue 7179)
parent 315cd0c7
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment