commit | 35138ed6732fd2d4d06b9ffa92a391626acddfb1 | [log] [tgz] |
---|---|---|
author | Nikhil Manchanda <SlickNik@gmail.com> | Thu Jan 03 17:49:58 2013 -0800 |
committer | Nikhil Manchanda <SlickNik@gmail.com> | Fri Jan 04 10:15:55 2013 -0800 |
tree | 23cf4200261b813786a808d70aca18efdba3fd4f | |
parent | 3a30b06daf8a1f5a1b06480b53d6c31e47f40200 [diff] [blame] |
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
diff --git a/functions b/functions index 23aee93..bb03c55 100644 --- a/functions +++ b/functions
@@ -1146,9 +1146,9 @@ # 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 }