OLD | NEW |
1 #!/bin/sh | 1 #! /bin/sh |
2 | 2 |
3 # Launch FindBugs from the command line. | 3 # Launch FindBugs from the command line. |
4 | 4 |
5 escape_arg() { | 5 escape_arg() { |
6 echo "$1" | sed -e "s,\\([\\\"' ]\\),\\\\\\1,g" | 6 echo "$1" | sed -e "s,\\([\\\"' ]\\),\\\\\\1,g" |
7 } | 7 } |
8 | 8 |
9 program="$0" | 9 program="$0" |
10 | 10 |
11 # Follow symlinks until we get to the actual file. | 11 # Follow symlinks until we get to the actual file. |
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
190 fb_maxheap=${fb_maxheap:-"-Xmx768m"} | 190 fb_maxheap=${fb_maxheap:-"-Xmx768m"} |
191 fb_appjar=${fb_appjar:-"$findbugs_home/lib/findbugs.jar"} | 191 fb_appjar=${fb_appjar:-"$findbugs_home/lib/findbugs.jar"} |
192 set -f | 192 set -f |
193 #echo command: \ | 193 #echo command: \ |
194 exec "$fb_javacmd" \ | 194 exec "$fb_javacmd" \ |
195 -classpath "$fb_appjar$fb_pathsep$CLASSPATH" \ | 195 -classpath "$fb_appjar$fb_pathsep$CLASSPATH" \ |
196 -Dfindbugs.home="$findbugs_home"\ | 196 -Dfindbugs.home="$findbugs_home"\ |
197 $fb_maxheap $fb_jvmargs $fb_mainclass ${@:+"$@"} $fb_appargs | 197 $fb_maxheap $fb_jvmargs $fb_mainclass ${@:+"$@"} $fb_appargs |
198 | 198 |
199 # vim:ts=3 | 199 # vim:ts=3 |
OLD | NEW |