1
0
mirror of https://github.com/moparisthebest/davmail synced 2024-11-15 05:45:12 -05:00

Enhancement: Patch 2826966 from Eivind Tagseth, Make davmail.sh work from any location

git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@630 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
mguessan 2009-07-26 22:28:34 +00:00
parent ea41aaf943
commit 18070f7067

View File

@ -2,5 +2,6 @@
# install java :
# sudo apt-get install sun-java6-bin
# launch davmail :
for i in lib/*; do export CLASSPATH=$CLASSPATH:$i; done
java -cp davmail.jar:$CLASSPATH davmail.DavGateway $1
BASE=`dirname $0`
for i in $BASE/lib/*; do export CLASSPATH=$CLASSPATH:$i; done
java -cp $BASE/davmail.jar:$CLASSPATH davmail.DavGateway $1