Rename virtual env lookup folder

This commit is contained in:
Michael Campagnaro 2016-05-04 11:27:31 -04:00
parent d1b0d7818b
commit 4fb72a0337

View File

@ -1,8 +1,8 @@
function activate_virtualenv() {
if [ -f env/bin/activate ]; then . env/bin/activate;
elif [ -f ../env/bin/activate ]; then . ../env/bin/activate;
elif [ -f ../../env/bin/activate ]; then . ../../env/bin/activate;
elif [ -f ../../../env/bin/activate ]; then . ../../../env/bin/activate;
if [ -f venv/bin/activate ]; then . venv/bin/activate;
elif [ -f ../venv/bin/activate ]; then . ../venv/bin/activate;
elif [ -f ../../venv/bin/activate ]; then . ../../venv/bin/activate;
elif [ -f ../../../venv/bin/activate ]; then . ../../../venv/bin/activate;
fi
}