Merge "Fix typo when querying the python version in scripts/env-setup.sh"

This commit is contained in:
Jenkins 2016-08-17 02:14:14 +00:00 committed by Gerrit Code Review
commit 4c2ea6ffd9

View File

@ -44,7 +44,7 @@ if [ -x '/usr/bin/apt-get' ]; then
sudo -H apt-get -y install libffi-dev
fi
elif [ -x '/usr/bin/yum' ]; then
if ! $(python --version $>/dev/null); then
if ! $(python --version &>/dev/null); then
sudo -H yum -y install python
fi
if ! yum -q list installed python-devel; then