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