Browse code

Merge "Use 'which pip' rather than /usr/bin/pip"

Jenkins authored on 2013/01/05 07:26:01
Showing 1 changed files
... ...
@@ -1125,9 +1125,9 @@ function get_rootwrap_location() {
1125 1125
 # get_pip_command
1126 1126
 function get_pip_command() {
1127 1127
     if is_fedora; then
1128
-        echo "/usr/bin/pip-python"
1128
+        which pip-python
1129 1129
     else
1130
-        echo "/usr/bin/pip"
1130
+        which pip
1131 1131
     fi
1132 1132
 }
1133 1133