#! /bin/sh

opentool=/usr/lib/GNUstep/System/Tools/opentool

if [ -z "$GNUSTEP_MAKEFILES" ]; then
    . /usr/lib/GNUstep/System/Library/Makefiles/GNUstep.sh
fi

[ `$opentool gdomap -L GDNCServer | grep -c Found` = '0' ] && $opentool gdnc

tool=$(basename "$0")
$opentool "$tool" "$@"
