mirror of https://github.com/zulip/zulip.git
12 lines
232 B
Plaintext
12 lines
232 B
Plaintext
|
#!/bin/bash
|
||
|
|
||
|
py_version="$(python -c 'import sys; print(sys.version_info[0])')"
|
||
|
|
||
|
if [ "$py_version" == 2 ]; then
|
||
|
source /srv/zulip-venv/bin/activate
|
||
|
else
|
||
|
source /srv/zulip-py3-venv/bin/activate
|
||
|
fi
|
||
|
|
||
|
echo "Using $VIRTUAL_ENV"
|