'pip uninstall' will hang running stack.sh if it has to
prompt the user for input, use -y.
Change-Id: Ic94639e444b87fd3538463d5a51c01a0208a2ab2
Closes-bug: #1691172
| ... | ... |
@@ -362,7 +362,7 @@ function pip_uninstall {
|
| 362 | 362 |
local sudo_pip="sudo -H" |
| 363 | 363 |
fi |
| 364 | 364 |
# don't error if we can't uninstall, it might not be there |
| 365 |
- $sudo_pip $cmd_pip uninstall $name || /bin/true |
|
| 365 |
+ $sudo_pip $cmd_pip uninstall -y $name || /bin/true |
|
| 366 | 366 |
} |
| 367 | 367 |
|
| 368 | 368 |
# get version of a package from global requirements file |