#!/bin/sh

bindir="/usr/lib64/dice"

if test -f "$0.in"; then
    bindir="."
    export MONO_PATH="../Novell.IceDesktop:$MONO_PATH"
    echo "detected build tree, using local binary: $@"
fi

exec mono --debug "$bindir/dice-manager.exe" "$@"
