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 # Cleanup paths for Cygwin.
22 cp=`cygpath --windows --mixed --path "$cp"`
25 if test -e /System
/Library
/Frameworks
/JavaVM.framework
28 -Dcom.apple.mrj.application.apple.menu.about.name=JGit
29 -Dcom.apple.mrj.application.growbox.intrudes=false
30 -Dapple.laf.useScreenMenuBar=true
41 if test -n "$JAVA_HOME"
43 java
="$JAVA_HOME/bin/java"
46 exec "$java" $java_args org.spearce.jgit.pgm.Main
"$@"