slackbuilds_ponce/network/davmail/davmail.sh

8 lines
197 B
Bash
Raw Normal View History

#!/bin/sh
DAVMAIL_HOME=/usr/share/davmail
for name in $DAVMAIL_HOME/lib/*.jar ; do
CP=$CP:$name
done
CP=$CP:$DAVMAIL_HOME/davmail.jar
exec "$JAVA_HOME/bin/java" -cp $CP 'davmail.DavGateway' "$@"