mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-26 18:18:25 +00:00
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
Block a user