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 7 8 9
if [ -z "$PYPY_DIR" ]; then
  PYPY_DIR=pypy
fi
export PYTHONPATH=$DIR/src:$DIR/$PYPY_DIR:$PYTHONPATH
10
exec $PYTHON $DIR/src/som/vm/universe.py "$@"