Dont add null mimetypes. Fixes bgo# 337431. The patch hasnt been officially accepted...
[beagle.git] / bludgeon / bludgeon.in
blobd6ea11e7eda6f126de958bd6855703cf2d53c4de
1 #!@bash@
3 if [ -e ./@target@ ] && [ -e ./Makefile.am ] ; then
4     echo "*** Running uninstalled @target@ ***"
5     THIS_PATH="../Util:../BeagleClient:."
6     THIS_EXE="./@target@"
8     export BEAGLED_COMMAND="./beagled.dummy"
10     export MONO_PATH="../Util:../BeagleClient:$MONO_PATH"
11     export LD_LIBRARY_PATH="../glue/.libs:$LD_LIBRARY_PATH"
13     export BEAGLE_FILTER_PATH="../Filters"
15 else
16     THIS_PATH="@pkglibdir@"
17     THIS_EXE="@pkglibdir@/@target@"
19     export BEAGLED_COMMAND="beagled"
21     export MONO_PATH="@pkglibdir@:$MONO_PATH"
22     export LD_LIBRARY_PATH="@pkglibdir@:$LD_LIBRARY_PATH"
25 if [ -z "$BEAGLE_MONO_RUNTIME" ]; then
26    BEAGLE_MONO_RUNTIME="mono"
27 else
28    echo "*** Using mono runtime at $BEAGLE_MONO_RUNTIME ***"
31 MONO_PATH="$THIS_PATH:$MONO_PATH" exec $BEAGLE_MONO_RUNTIME --debug $MONO_EXTRA_ARGS $THIS_EXE "$@"