summaryrefslogtreecommitdiff
path: root/bin/pyrun.sh
blob: 69c63b0916a545f226cd5a4a3e8872e95cdef437 (plain)
1
2
3
4
5
6
#!/bin/bash
DIR=$(dirname $0)
SCRIPT=$(echo $1 | sed 's/\.py\$//')
shift
export PYTHONPATH=$DIR/../app/python/
python $PYTHONPATH/$SCRIPT.py $@