Skip to content

Commit cd532cc

Browse files
author
Aaron O'Mullan
committed
Fix setup_python in init.sh
1 parent 7d7c866 commit cd532cc

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

init.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,9 +113,12 @@ function setup_env () {
113113
}
114114

115115
function setup_python () {
116-
if [ -e "${PYTHON_ACTIVATE}" ]; then
116+
echo "Callling setup_python ..."
117+
if [ -f ${PYTHON_ACTIVATE} ]; then
117118
source "${PYTHON_ACTIVATE}"
119+
return
118120
fi;
121+
echo "Skipped setup_python ..."
119122
}
120123

121124
function start_server () {

0 commit comments

Comments
 (0)