fix py_exe default value

This commit is contained in:
Ch3LL 2017-04-19 13:22:45 -04:00
parent 7d907d1fb7
commit 47fd79be4c
No known key found for this signature in database
GPG key ID: E913CB5901E0C81C

View file

@ -3771,9 +3771,9 @@ install_centos_git_deps() {
install_centos_git() {
if [ "$DISTRO_MAJOR_VERSION" -eq 5 ]; then
_PYEXE=python2.6
elif [ ${_PY_EXE:='None'} != 'None' ]; then
elif [ "${_PY_EXE}" != "" ]; then
_PYEXE=${_PY_EXE}
echoinfo "Using the following python version: ${_PY-EXE} to install salt"
echoinfo "Using the following python version: ${_PY_EXE} to install salt"
else
_PYEXE=python2
fi