Permalink
Please sign in to comment.
Showing
with
16 additions
and 7 deletions.
- +0 −5 everware/authenticator.py
- +1 −1 everware/user_spawn_handler.py
- +1 −1 everware/user_wait_handler.py
- +14 −0 scripts/everware-server
| @@ -0,0 +1,14 @@ | ||
| +#!/bin/bash | ||
| +source ./env.sh | ||
| +PYTHON_MAJOR=`python -c 'import sys; print(sys.version_info[0])'` | ||
| +if [ ${PYTHON_MAJOR} -eq 3 ] ; then | ||
| + PYTHON=python | ||
| + PIP=pip | ||
| +elif [ -n `which python3` ] ; then | ||
| + PYTHON=python3 | ||
| + PIP=pip3 | ||
| +else | ||
| + echo "Unable to find python" | ||
| + exit 1 | ||
| +fi | ||
| +${PYTHON} ./run.py "$@" |
0 comments on commit
c4c1264