3 if [ -e ./@target@ ] && [ -e ./Makefile.am ] ; then
4 echo "*** Running uninstalled @target@ ***"
5 THIS_PATH="../Util:../BeagleClient:."
8 export MONO_PATH="../Util:../BeagleClient:$MONO_PATH"
9 export LD_LIBRARY_PATH="../glue/.libs:$LD_LIBRARY_PATH"
11 # In BEAGLE_FILTER_PATH, a trailing ':' means "append the default path".
12 if [ -n "$BEAGLE_FILTER_PATH" ]; then
13 export BEAGLE_FILTER_PATH="../Filters:$BEAGLE_FILTER_PATH"
15 export BEAGLE_FILTER_PATH="../Filters"
19 THIS_PATH="@pkglibdir@"
20 THIS_EXE="@pkglibdir@/@target@"
22 export MONO_PATH="@pkglibdir@:$MONO_PATH"
23 export LD_LIBRARY_PATH="@pkglibdir@:$LD_LIBRARY_PATH"
26 MONO_GAC_PREFIX="@gacprefix@:$MONO_GAC_PREFIX" MONO_PATH="$THIS_PATH:$MONO_PATH" exec mono --debug $MONO_EXTRA_ARGS $THIS_EXE "$@"