#!/bin/sh
#
# Wrapper script for lifelines
#
# used to setup proper environment variables for the program
# Otherwise, it would be a pain to find the reports

if [ -z ${LLPROGRAMS} ]
then
  LLPROGRAMS=/usr/share/lifelines:/usr/local/share/lifelines
else
  LLPROGRAMS=${LLPROGRAMS}:/usr/share/lifelines:/usr/local/share/lifelines
fi
if [ -z ${LLDATABASES} ]
then
  LLDATABASES=.
else
  LLDATABASES=${LLDATABASES}:.
fi
export LLPROGRAMS LLDATABASES
exec /usr/lib/lifelines/llines "$@"
			   
