aboutsummaryrefslogtreecommitdiff
path: root/network/davmail/davmail.sh
blob: c142f3fd239766fdd347a0303c75afdfd04391c3 (plain)
1
2
3
4
5
6
7
#!/bin/sh
DAVMAIL_HOME=/usr/share/java/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' "$@"