From 47fd79be4cc04b5fcd444b0ae2d295c838d96d77 Mon Sep 17 00:00:00 2001 From: Ch3LL Date: Wed, 19 Apr 2017 13:22:45 -0400 Subject: [PATCH] fix py_exe default value --- bootstrap-salt.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bootstrap-salt.sh b/bootstrap-salt.sh index dae7f05..45db0ec 100755 --- a/bootstrap-salt.sh +++ b/bootstrap-salt.sh @@ -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