Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(16)

Side by Side Diff: third_party/findbugs/bin/fbwrap

Issue 11226050: Fix check_perms error from the findbugs checkin. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « third_party/findbugs/bin/fb ('k') | third_party/findbugs/bin/filterBugs » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #! /bin/sh 1 #!/bin/sh
2 2
3 # A convenient way to call the main() method of a class 3 # A convenient way to call the main() method of a class
4 # in findbugs.jar. 4 # in findbugs.jar.
5 5
6 program="$0" 6 program="$0"
7 7
8 # Follow symlinks until we get to the actual file. 8 # Follow symlinks until we get to the actual file.
9 while [ -h "$program" ]; do 9 while [ -h "$program" ]; do
10 link=`ls -ld "$program"` 10 link=`ls -ld "$program"`
11 link=`expr "$link" : '.*-> \(.*\)'` 11 link=`expr "$link" : '.*-> \(.*\)'`
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 fb_maxheap=${fb_maxheap:-"-Xmx768m"} 75 fb_maxheap=${fb_maxheap:-"-Xmx768m"}
76 fb_appjar=${fb_appjar:-"$findbugs_home/lib/findbugs.jar"} 76 fb_appjar=${fb_appjar:-"$findbugs_home/lib/findbugs.jar"}
77 set -f 77 set -f
78 #echo command: \ 78 #echo command: \
79 exec "$fb_javacmd" \ 79 exec "$fb_javacmd" \
80 -classpath "$fb_appjar$fb_pathsep$CLASSPATH" \ 80 -classpath "$fb_appjar$fb_pathsep$CLASSPATH" \
81 -Dfindbugs.home="$findbugs_home"\ 81 -Dfindbugs.home="$findbugs_home"\
82 $fb_maxheap $fb_jvmargs $fb_mainclass ${@:+"$@"} $fb_appargs 82 $fb_maxheap $fb_jvmargs $fb_mainclass ${@:+"$@"} $fb_appargs
83 83
84 # vim:ts=3 84 # vim:ts=3
OLDNEW
« no previous file with comments | « third_party/findbugs/bin/fb ('k') | third_party/findbugs/bin/filterBugs » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698