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
master
mguessan 14 years ago
parent ea41aaf943
commit 18070f7067

@ -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

Loading…
Cancel
Save