#!/bin/sh

bindir="/usr/lib/dice"

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

exec mono --debug "$bindir/auth-agent.exe" "$@"
