slackbuilds_ponce/network/davmail/davmail.sh
Giuseppe Di Terlizzi fcf3f600df network/davmail: Fix path.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
2015-11-12 23:19:04 +07:00

7 lines
197 B
Bash

#!/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' "$@"