12 lines
326 B
Bash
Executable file
12 lines
326 B
Bash
Executable file
#!/bin/sh
|
|
set -e
|
|
|
|
if [ -z "${PYTHON}" ]; then
|
|
which python >/dev/null 2>&1 && PYTHON=$(which python)
|
|
which python2 >/dev/null 2>&1 && PYTHON=$(which python2)
|
|
which python2.7 >/dev/null 2>&1 && PYTHON=$(which python2.7)
|
|
fi
|
|
|
|
${PYTHON} "$(dirname $0)/stale_pyc.py"
|
|
|
|
exec "${PYTHON}" "$(dirname $0)/local_run.py" "$@"
|