som.sh 223 Bytes
Newer Older
1
#!/bin/sh
2
DIR="`dirname \"$0\"`"
Tobias Pape's avatar
Tobias Pape committed
3
if [ -z "$PYTHON" ]; then
4
  PYTHON=pypy
Tobias Pape's avatar
Tobias Pape committed
5
fi
Stefan Marr's avatar
Stefan Marr committed
6
if [ -z "$PYPY_DIR" ]; then
7
  PYPY_DIR=$DIR/pypy
Stefan Marr's avatar
Stefan Marr committed
8
fi
9
export PYTHONPATH=$DIR/src:$PYPY_DIR:$PYTHONPATH
10
exec $PYTHON $DIR/src/som/vm/universe.py "$@"