Merge "Fix get_pip_command()"

This commit is contained in:
Jenkins 2013-08-02 03:45:27 +00:00 committed by Gerrit Code Review
commit 9cdc0a17ce

View File

@ -1491,11 +1491,7 @@ function get_rootwrap_location() {
# Get the path to the pip command.
# get_pip_command
function get_pip_command() {
if is_fedora; then
which pip-python
else
which pip
fi
which pip || which pip-python
if [ $? -ne 0 ]; then
die $LINENO "Unable to find pip; cannot continue"