Remove debug statements from KCal backends.
[beagle.git] / beagled / beagled-index-helper.in
blob216e0381414a62ef7e6f3536361d4d4591acb2c4
1 #!@bash@
3 # This line will be automatically uncommented when you "make install"
4 #installed=1
6 if [ -z $installed ] ; then
7     echo "*** Running uninstalled @target@ ***"
8     THIS_PATH="../Util:../BeagleClient:."
9     THIS_EXE="./@target@"
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}"
14 else
15     THIS_PATH="@pkglibdir@"
16     THIS_EXE="@pkglibdir@/@target@"
19 if [ -n "$_GET_ON_THE_HEAP_BUDDY_BANDWAGON" ]; then
20    n=1
21    while [ -e $BEAGLE_HEAP_BUDDY_DIR/outfile.helper.$n ]; do
22          n=$(($n+1))
23    done 
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