#!/bin/bash prefix=@prefix@ exec_prefix=@exec_prefix@ libdir=@libdir@ export DYLD_LIBRARY_PATH=$libdir/mistelix/:$DYLD_LIBRARY_PATH export LD_LIBRARY_PATH=$libdir/mistelix/${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH} export GST_PLUGIN_PATH=$libdir/mistelix/gstreamer/:$GST_PLUGIN_PATH MONO_EXE="$libdir/mistelix/mistelix.exe" for arg in $*; do case "x--debug" in ("x${arg}") MONO_OPTIONS="--debug${MONO_OPTIONS+:$MONO_OPTIONS}" esac done exec -a mistelix mono $MONO_OPTIONS $MONO_EXE "$@"