#! /bin/sh

app=$(basename "$0")
if [ $app = "gnustep-ogo-app-wrapper" ]; then
    cat - <<EOF
gnustep-ogo-app-wrapper: This script is a wrapper script for GNUstep
applications, and is not meant to be called directly.
EOF
    exit 1
fi

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

openapp "$app" "$@"
