#! /bin/sh # $Id$ # $URL$ set -e case $0 in */*) prefix=$(dirname $0) ;; *) self=$(which $0) prefix=$(dirname $self) esac prefix=${prefix%/bin} export PYTHONPATH=$prefix/lib/python:$prefix/lib/:$prefix/lib/python2.5:$prefix/lib/python2.5/site-packages exec python2.5 "$prefix/src/enrichmentserver.py" "$prefix/etc/enrichment.cfg"