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 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
183 fb_maxheap=${fb_maxheap:-"-Xmx768m"} | 183 fb_maxheap=${fb_maxheap:-"-Xmx768m"} |
184 fb_appjar=${fb_appjar:-"$findbugs_home/lib/findbugs.jar"} | 184 fb_appjar=${fb_appjar:-"$findbugs_home/lib/findbugs.jar"} |
185 set -f | 185 set -f |
186 #echo command: \ | 186 #echo command: \ |
187 exec "$fb_javacmd" \ | 187 exec "$fb_javacmd" \ |
188 -classpath "$fb_appjar$fb_pathsep$CLASSPATH" \ | 188 -classpath "$fb_appjar$fb_pathsep$CLASSPATH" \ |
189 -Dfindbugs.home="$findbugs_home"\ | 189 -Dfindbugs.home="$findbugs_home"\ |
190 $fb_maxheap $fb_jvmargs $fb_mainclass ${@:+"$@"} $fb_appargs | 190 $fb_maxheap $fb_jvmargs $fb_mainclass ${@:+"$@"} $fb_appargs |
191 | 191 |
192 # vim:ts=3 | 192 # vim:ts=3 |
OLD | NEW |