PWD=`pwd` BASE_PATH="${PWD}/env" if [[ "${BASE_PATH}" == "${PWD}/env" ]] then if [[ -e env/bin/activate ]] then source env/bin/activate fi fi