2005-04-19 Gabor Kelemen <kelemeng@gnome.hu>
[beagle.git] / Best / best.in
blobeccd36cf31f0155b8ec42076ca780665a262ea36
1 #!/bin/sh
4 MOZILLA_HOME=@mozillahome@
5 export MOZILLA_HOME
7 MOZILLA_FIVE_HOME=@mozillahome@
8 export MOZILLA_FIVE_HOME
10 LD_LIBRARY_PATH="@mozillahome@:$LD_LIBRARY_PATH"
12 if [ -e ./@target@ ] && [ -e ./Makefile.am ] ; then
13 echo "*** Running uninstalled @target@ ***"
14 THIS_PATH="../Util:../images:../Lucene.Net:../indexer:../Tiles:../BeagleClient:../glue"
15 THIS_EXE="./@target@"
16 export LD_LIBRARY_PATH="../glue/.libs:$LD_LIBRARY_PATH"
17 export PATH="../ImLogViewer:$PATH"
18 else
19 THIS_PATH="@pkglibdir@"
20 THIS_EXE="@pkglibdir@/@target@"
21 export LD_LIBRARY_PATH="@pkglibdir@:$LD_LIBRARY_PATH"
24 MONO_GAC_PREFIX="@gacprefix@:$MONO_GAC_PREFIX" MONO_PATH="$THIS_PATH:$MONO_PATH" exec -a mono-best mono $MONO_EXTRA_ARGS --debug $THIS_EXE "$@"