3 # This line will be automatically uncommented when you "make install"
6 if [ -z $installed ] ; then
7 echo "*** Running uninstalled @target@ ***"
8 THIS_PATH="../Util:../BeagleClient:."
11 export MONO_PATH="../Util:../BeagleClient${MONO_PATH+:$MONO_PATH}"
12 export LD_LIBRARY_PATH="../glue/.libs${LD_LIBRARY_PATH+:$LD_LIBRARY_PATH}"
13 export BEAGLE_FILTER_PATH="../Filters${BEAGLE_FILTER_PATH+:$BEAGLE_FILTER_PATH}"
15 THIS_PATH="@pkglibdir@"
16 THIS_EXE="@pkglibdir@/@target@"
19 if [ -n "$_GET_ON_THE_HEAP_BUDDY_BANDWAGON" ]; then
21 while [ -e $BEAGLE_HEAP_BUDDY_DIR/outfile.helper.$n ]; do
24 MONO_EXTRA_ARGS="--profile=heap-buddy:$BEAGLE_HEAP_BUDDY_DIR/outfile.helper.$n $MONO_EXTRA_ARGS"
27 if [ -n "$BEAGLE_MONO_DEBUG_FLAG_IS_SET" ]; then
28 MONO_EXTRA_ARGS="--debug $MONO_EXTRA_ARGS"
31 export MONO_PATH="$THIS_PATH${MONO_PATH+:$MONO_PATH}"
33 CMDLINE="$BEAGLE_MONO_RUNTIME $MONO_EXTRA_ARGS $THIS_EXE $@"
35 PROCESS_NAME="beagled-helper"
36 exec -a $PROCESS_NAME $CMDLINE