From c5f47138c5b893639a4c1b3d068aa09a7478f039 Mon Sep 17 00:00:00 2001 From: Giuseppe Di Terlizzi Date: Mon, 8 Oct 2018 22:29:43 +0100 Subject: network/davmail: Updated for version 4.9.0. Signed-off-by: David Spencer --- network/davmail/davmail.sh | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'network/davmail/davmail.sh') diff --git a/network/davmail/davmail.sh b/network/davmail/davmail.sh index c41a4fde7c8c..117fb8188a27 100644 --- a/network/davmail/davmail.sh +++ b/network/davmail/davmail.sh @@ -1,7 +1,4 @@ #!/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' "$@" +BASE=/usr/share/davmail +for i in $BASE/lib/*; do export CLASSPATH=$CLASSPATH:$i; done +exec java -Xmx512M -Dsun.net.inetaddr.ttl=60 -cp $BASE/davmail.jar:$CLASSPATH davmail.DavGateway $1 -- cgit v1.2.3