commit | 3f1d0e2688ea471a467730d5677dd560671071d1 | [log] [tgz] |
---|---|---|
author | James Kyle <james@jameskyle.org> | Fri Aug 02 10:40:32 2013 -0700 |
committer | James Kyle <james@jameskyle.org> | Mon Aug 05 09:31:04 2013 -0700 |
tree | 81cf66d5d7a80f95b28ee46d23bd0805a61b57a6 | |
parent | 74af8ed00f12ab9a482bb99776560e3d4f8e9a52 [diff] [blame] |
Ensures cross compatibility for zsh and bash. Fixes bug #1207853 Change-Id: I8ab3959ac8dbb5bb199e325bfdfdc513b4327410
diff --git a/functions b/functions index 262f70f..e498b3d 100644 --- a/functions +++ b/functions
@@ -930,7 +930,7 @@ 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}