From 3f1d0e2688ea471a467730d5677dd560671071d1 Mon Sep 17 00:00:00 2001 From: James Kyle Date: Fri, 2 Aug 2013 10:40:32 -0700 Subject: [PATCH] Ensures cross compatibility for zsh and bash. Fixes bug #1207853 Change-Id: I8ab3959ac8dbb5bb199e325bfdfdc513b4327410 --- functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions b/functions index 262f70f29f..e498b3d5a0 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}