2015-05-21 11:15:55 +00:00
|
|
|
DIR="${0%/*}"
|
|
|
|
if [ -z "$VIRTUAL_ENV" ] && [ -f "$DIR/../venv.mitmproxy/bin/activate" ]; then
|
2015-04-07 23:59:00 +00:00
|
|
|
echo "Activating mitmproxy virtualenv..."
|
2015-05-21 11:15:55 +00:00
|
|
|
source "$DIR/../venv.mitmproxy/bin/activate"
|
2015-04-07 23:59:00 +00:00
|
|
|
fi
|