3 if [ "@@use_self@@" = "1" ]
5 this_script
=`which "$0" 2>/dev/null`
6 [ $?
-gt 0 -a -f "$0" ] && this_script
="$0"
10 cp="$jgit_home/org.spearce.jgit/bin"
11 cp="$cp:$jgit_home/org.spearce.jgit/lib/jsch-0.1.37.jar"
12 cp="$cp:$jgit_home/org.spearce.jgit.pgm/bin"
13 cp="$cp:$jgit_home/org.spearce.jgit.pgm/lib/args4j-2.0.9.jar"
18 if [ -n "$JGIT_CLASSPATH" ]
20 cp="$cp:$JGIT_CLASSPATH"
23 # Cleanup paths for Cygwin.
27 cp=`cygpath --windows --mixed --path "$cp"`
30 if test -e /System
/Library
/Frameworks
/JavaVM.framework
33 -Dcom.apple.mrj.application.apple.menu.about.name=JGit
34 -Dcom.apple.mrj.application.growbox.intrudes=false
35 -Dapple.laf.useScreenMenuBar=true
46 if test -n "$JAVA_HOME"
48 java
="$JAVA_HOME/bin/java"
51 exec "$java" $java_args org.spearce.jgit.pgm.Main
"$@"