#!/bin/sh PYTHON=$(which python2.5) [ -x "${PYTHON}" ] || ( echo "ERROR: Python 2.5 not found"; exit 1) [ -f /usr/lib/google_appengine/dev_appserver.py ] || ( echo "ERROR: google_appengine not found in /usr/lib"; exit 1) cd /usr/lib/google_appengine "${PYTHON}" dev_appserver.py $@