#! /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 export PYTHONPATH=$prefix/lib/python:$prefix/lib/:$prefix/lib/python2.5:$prefix/lib/python2.5/site-packages # /usr/lib/python2.5/site-packages/meresco/components/sru/ # ./python2.5/site-packages/meresco/components/sru export LANG=en_US.UTF-8 echo PYTHONPATH: $PYTHONPATH exec "$python" "$prefix/bin/meresco-server.py" "$prefix/etc/bzv/bzv.cfg"