Permalink
Fetching contributors…
Cannot retrieve contributors at this time
executable file 11 lines (8 sloc) 252 Bytes
#!/bin/sh
cd "$(dirname "$(readlink -f "$(command -v "$0")")")"
if [ -d "venv/" ] && [ ! "x$(command -v python)" == "x$VIRTUAL_ENV/bin/python" ]; then
source ./venv/bin/activate
echo "Using virtualenv"
fi
cd feature_server
exec python2 run.py "$@"