File tree Expand file tree Collapse file tree 5 files changed +5
-5
lines changed Expand file tree Collapse file tree 5 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ BUILD_CLASSPATH=$(echo $ALL_JARS | xargs printf -- "$OUT/%s:"):$JAZZER_API_PATH
31
31
# All .jar and .class files lie in the same directory as the fuzzer at runtime.
32
32
RUNTIME_CLASSPATH=$( echo $ALL_JARS | xargs printf -- " \$ this_dir/%s:" ) :\$ this_dir
33
33
34
- for fuzzer in $( find $SRC -name ' *Fuzzer.java' ) ; do
34
+ for fuzzer in $( find $SRC -maxdepth 1 - name ' *Fuzzer.java' ) ; do
35
35
fuzzer_basename=$( basename -s .java $fuzzer )
36
36
javac -cp $BUILD_CLASSPATH $fuzzer
37
37
cp $SRC /$fuzzer_basename .class $OUT /
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ BUILD_CLASSPATH=$(echo $ALL_JARS | xargs printf -- "$OUT/%s:"):$JAZZER_API_PATH
24
24
RUNTIME_CLASSPATH=$( echo $ALL_JARS | xargs printf -- " \$ this_dir/%s:" ) :.:\$ this_dir
25
25
26
26
# Let's try and build a simple fuzzer.
27
- for fuzzer in $( find $SRC -name ' *Fuzzer.java' ) ; do
27
+ for fuzzer in $( find $SRC -maxdepth 1 - name ' *Fuzzer.java' ) ; do
28
28
fuzzer_basename=$( basename -s .java $fuzzer )
29
29
javac -cp $BUILD_CLASSPATH $fuzzer
30
30
cp $SRC /$fuzzer_basename .class $OUT /
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ BUILD_CLASSPATH=$(echo $ALL_JARS | xargs printf -- "$OUT/%s:"):$JAZZER_API_PATH
41
41
# All jars and class files lie in the same directory as the fuzzer at runtime.
42
42
RUNTIME_CLASSPATH=$( echo $ALL_JARS | xargs printf -- " \$ this_dir/%s:" ) :.:\$ this_dir
43
43
44
- for fuzzer in $( find $SRC -name ' *Fuzzer.java' ) ; do
44
+ for fuzzer in $( find $SRC -maxdepth 1 - name ' *Fuzzer.java' ) ; do
45
45
fuzzer_basename=$( basename -s .java $fuzzer )
46
46
javac -cp $BUILD_CLASSPATH $fuzzer
47
47
cp $SRC /$fuzzer_basename .class $OUT /
Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ BUILD_CLASSPATH=$(echo $ALL_JARS | xargs printf -- "$OUT/%s:"):$JAZZER_API_PATH
62
62
# All .jar and .class files lie in the same directory as the fuzzer at runtime.
63
63
RUNTIME_CLASSPATH=$( echo $ALL_JARS | xargs printf -- " \$ this_dir/%s:" ) :\$ this_dir
64
64
65
- for fuzzer in $( find $SRC -name ' *Fuzzer.java' ) ; do
65
+ for fuzzer in $( find $SRC -maxdepth 1 - name ' *Fuzzer.java' ) ; do
66
66
fuzzer_basename=$( basename -s .java $fuzzer )
67
67
javac -cp $BUILD_CLASSPATH $fuzzer
68
68
cp $SRC /$fuzzer_basename .class $OUT /
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ BUILD_CLASSPATH=$(echo $ALL_JARS | xargs printf -- "$OUT/%s:"):$JAZZER_API_PATH:
34
34
# All .jar and .class files lie in the same directory as the fuzzer at runtime.
35
35
RUNTIME_CLASSPATH=$( echo $ALL_JARS | xargs printf -- " \$ this_dir/%s:" ) :\$ this_dir
36
36
37
- for fuzzer in $( find $SRC -name ' *Fuzzer.java' ) ; do
37
+ for fuzzer in $( find $SRC -maxdepth 1 - name ' *Fuzzer.java' ) ; do
38
38
fuzzer_basename=$( basename -s .java $fuzzer )
39
39
javac -cp $BUILD_CLASSPATH $fuzzer
40
40
cp $SRC /$fuzzer_basename * .class $OUT /
You can’t perform that action at this time.
0 commit comments