11 lines
163 B
Text
11 lines
163 B
Text
![]() |
PWD=`pwd`
|
||
|
BASE_PATH="${PWD}/env"
|
||
|
|
||
|
if [[ "${BASE_PATH}" == "${PWD}/env" ]]
|
||
|
then
|
||
|
if [[ -e env/bin/activate ]]
|
||
|
then
|
||
|
source env/bin/activate
|
||
|
fi
|
||
|
fi
|