diff --git a/functions b/functions index b8fd6880ee..58df1bc0fd 100644 --- a/functions +++ b/functions @@ -930,7 +930,7 @@ function pip_install { CMD_PIP=$(get_pip_command) fi - if [[ is_fedora && $DISTRO =~ (rhel6) ]]; then + if is_fedora && [[ $DISTRO =~ (rhel6) ]]; then # RHEL6 pip by default doesn't have this (was introduced # around 0.8.1 or so) PIP_USE_MIRRORS=${PIP_USE_MIRRORS:-False}