Browse code

Merge "Ensures cross compatibility for zsh and bash."

Jenkins authored on 2013/08/06 22:59:39
Showing 1 changed files
... ...
@@ -930,7 +930,7 @@ function pip_install {
930 930
         CMD_PIP=$(get_pip_command)
931 931
     fi
932 932
 
933
-    if [[ is_fedora && $DISTRO =~ (rhel6) ]]; then
933
+    if is_fedora && [[ $DISTRO =~ (rhel6) ]]; then
934 934
         # RHEL6 pip by default doesn't have this (was introduced
935 935
         # around 0.8.1 or so)
936 936
         PIP_USE_MIRRORS=${PIP_USE_MIRRORS:-False}