Bug 1095472: Bugfix to use 'which pip' rather than assume pip always lives in /usr/bin
Change-Id: I0cc8a5e35306372653c3c27da9504c64e39d56dd
| ... | ... |
@@ -1146,9 +1146,9 @@ function get_rootwrap_location() {
|
| 1146 | 1146 |
# get_pip_command |
| 1147 | 1147 |
function get_pip_command() {
|
| 1148 | 1148 |
if is_fedora; then |
| 1149 |
- echo "/usr/bin/pip-python" |
|
| 1149 |
+ which pip-python |
|
| 1150 | 1150 |
else |
| 1151 |
- echo "/usr/bin/pip" |
|
| 1151 |
+ which pip |
|
| 1152 | 1152 |
fi |
| 1153 | 1153 |
} |
| 1154 | 1154 |
|