From 35138ed6732fd2d4d06b9ffa92a391626acddfb1 Mon Sep 17 00:00:00 2001 From: Nikhil Manchanda Date: Thu, 3 Jan 2013 17:49:58 -0800 Subject: [PATCH] Use 'which pip' rather than /usr/bin/pip Bug 1095472: Bugfix to use 'which pip' rather than assume pip always lives in /usr/bin Change-Id: I0cc8a5e35306372653c3c27da9504c64e39d56dd --- functions | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/functions b/functions index 23aee9351a..bb03c558dd 100644 --- a/functions +++ b/functions @@ -1146,9 +1146,9 @@ function get_rootwrap_location() { # get_pip_command function get_pip_command() { if is_fedora; then - echo "/usr/bin/pip-python" + which pip-python else - echo "/usr/bin/pip" + which pip fi }