Allow LockFile to cache report modification time to callers
[egit/zawir.git] / jgit
blob9cd942b07a7ef0559052ce0a8cd0d832e3cef5eb
1 #!/bin/sh
3 cp=`dirname $0`
4 cp="$cp/org.spearce.jgit/bin"
5 java_args=
7 # Cleanup paths for Cygwin.
9 case "`uname`" in
10 CYGWIN*)
11 cp=`cygpath --windows --mixed --path "$cp"`
13 Darwin)
14 if test -e /System/Library/Frameworks/JavaVM.framework
15 then
16 java_args='
17 -Dcom.apple.mrj.application.apple.menu.about.name=JGit
18 -Dcom.apple.mrj.application.growbox.intrudes=false
19 -Dapple.laf.useScreenMenuBar=true
20 -Xdock:name=JGit
24 esac
26 CLASSPATH="$cp"
27 export CLASSPATH
29 java=java
30 if test -n "$JAVA_HOME"
31 then
32 java="$JAVA_HOME/bin/java"
35 exec "$java" $java_args org.spearce.jgit.pgm.Main "$@"