| OLD | NEW |
| 1 #!/bin/sh | 1 #! /bin/sh |
| 2 | 2 |
| 3 | 3 |
| 4 program="$0" | 4 program="$0" |
| 5 | 5 |
| 6 # Follow symlinks until we get to the actual file. | 6 # Follow symlinks until we get to the actual file. |
| 7 while [ -h "$program" ]; do | 7 while [ -h "$program" ]; do |
| 8 link=`ls -ld "$program"` | 8 link=`ls -ld "$program"` |
| 9 link=`expr "$link" : '.*-> \(.*\)'` | 9 link=`expr "$link" : '.*-> \(.*\)'` |
| 10 if [ "`expr "$link" : '/.*'`" = 0 ]; then | 10 if [ "`expr "$link" : '/.*'`" = 0 ]; then |
| 11 # Relative | 11 # Relative |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 fb_maxheap=${fb_maxheap:-"-Xmx768m"} | 67 fb_maxheap=${fb_maxheap:-"-Xmx768m"} |
| 68 fb_appjar=${fb_appjar:-"$findbugs_home/lib/findbugs.jar"} | 68 fb_appjar=${fb_appjar:-"$findbugs_home/lib/findbugs.jar"} |
| 69 set -f | 69 set -f |
| 70 #echo command: \ | 70 #echo command: \ |
| 71 exec "$fb_javacmd" \ | 71 exec "$fb_javacmd" \ |
| 72 -classpath "$fb_appjar$fb_pathsep$CLASSPATH" \ | 72 -classpath "$fb_appjar$fb_pathsep$CLASSPATH" \ |
| 73 -Dfindbugs.home="$findbugs_home"\ | 73 -Dfindbugs.home="$findbugs_home"\ |
| 74 $fb_maxheap $fb_jvmargs $fb_mainclass ${@:+"$@"} $fb_appargs | 74 $fb_maxheap $fb_jvmargs $fb_mainclass ${@:+"$@"} $fb_appargs |
| 75 | 75 |
| 76 # vim:ts=3 | 76 # vim:ts=3 |
| OLD | NEW |