#! /bin/sh # $Id$ # $URL$ set -e case $0 in */*) prefix=$(dirname $0) ;; *) self=$(which $0) prefix=$(dirname $self) esac python=python2.5 prefix=${prefix%/bin} export PREFIX=$prefix export PYTHONPATH=$prefix/lib/python:$prefix/lib/$python/site-packages export LANG=en_US.UTF-8 exec "$python" "$prefix/bin/meresco-oaiserver.py" "$prefix/etc/bzv/oai/oai.cfg"