Remove pip user mode when installing in a venv

`--user` will fail inside a virtualenv with the following message:

```
+ /Users/xxx/venv/voltron/bin/python -m pip install -U --user .
Can not perform a '--user' install. User site-packages are not visible in this virtualenv.
```

Afaict this doesn't break anything else.
This commit is contained in:
_yrp 2017-09-20 00:01:26 -07:00 committed by GitHub
parent cd11d2f93b
commit 55ce78bfb1
1 changed files with 1 additions and 0 deletions

View File

@ -59,6 +59,7 @@ while getopts ":dsSb:v:" opt; do
;;
v)
VENV="${OPTARG}"
USER_MODE=''
SUDO=''
;;
S)