Merge pull request #645 from elitest/hardfailvenv
Add a check to see if virtualenv is installed.
This commit is contained in:
commit
becc790d83
2
dev
2
dev
|
@ -2,7 +2,7 @@
|
|||
set -e
|
||||
VENV=../venv.mitmproxy
|
||||
|
||||
python -m virtualenv $VENV
|
||||
python -m virtualenv $VENV || { echo 'virtualenv is not installed. Exiting.' ; exit 1; }
|
||||
source $VENV/bin/activate
|
||||
pip install --src .. -r requirements.txt
|
||||
|
||||
|
|
Loading…
Reference in New Issue