1
0
mirror of https://github.com/djohnlewis/stackdump synced 2024-12-04 23:17:37 +00:00

Added an error message when start_python.sh can't find a valid version.

This commit is contained in:
Samuel Lai 2012-02-12 21:12:33 +11:00
parent 105be00e9e
commit 5bfcfd2f1a

View File

@ -47,5 +47,7 @@ then
PYTHONPATH=$SCRIPT_DIR/python/packages:$SCRIPT_DIR/python/src:$PYTHONPATH
env PYTHONPATH=$PYTHONPATH $PYTHON_CMD "$@"
exit $?
else
echo 'No suitable version of Python was found. Python 2.5 or later is required.'
fi
fi