2006-02-27 Gabor Kelemen <kelemeng@gnome.hu>
[beagle.git] / ImLogViewer / beagle-imlogviewer.in
blobca39e30a0fab0aa74fbc5f5d11642c1b6071fe7d
1 #!/bin/sh
3 if [ -e ./@target@ ] && [ -e ./Makefile.am ] ; then
4 echo "*** Running uninstalled @target@ ***"
5 THIS_PATH="../Util:../images:../Lucene.Net"
6 THIS_EXE="./@target@"
7 export LD_LIBRARY_PATH="../glue/.libs:$LD_LIBRARY_PATH"
8 else
9 THIS_PATH="@pkglibdir@"
10 THIS_EXE="@pkglibdir@/@target@"
11 export LD_LIBRARY_PATH="@pkglibdir@:$LD_LIBRARY_PATH"
14 MONO_GAC_PREFIX="@gacprefix@:$MONO_GAC_PREFIX" MONO_PATH="$THIS_PATH:$MONO_PATH" exec -a mono-imlogviewer mono $MONO_EXTRA_ARGS --debug $THIS_EXE "$@"