| 1 |
#!/bin/sh |
| 2 |
# |
| 3 |
# Wrapper script for lifelines |
| 4 |
# |
| 5 |
# used to setup proper environment variables for the program |
| 6 |
# Otherwise, it would be a pain to find the reports |
| 7 |
|
| 8 |
if [ -z ${LLPROGRAMS} ] |
| 9 |
then |
| 10 |
LLPROGRAMS=/usr/share/lifelines:/usr/local/share/lifelines |
| 11 |
else |
| 12 |
LLPROGRAMS=${LLPROGRAMS}:/usr/share/lifelines:/usr/local/share/lifelines |
| 13 |
fi |
| 14 |
if [ -z ${LLDATABASES} ] |
| 15 |
then |
| 16 |
LLDATABASES=. |
| 17 |
else |
| 18 |
LLDATABASES=${LLDATABASES}:. |
| 19 |
fi |
| 20 |
export LLPROGRAMS LLDATABASES |
| 21 |
exec /usr/lib/lifelines/llines "$@" |
| 22 |
|