fix file check
This commit is contained in:
parent
7b17fae247
commit
3c17c4974e
@ -1285,7 +1285,8 @@ while (my($name, $fields) = each %classes) {
|
||||
"(JNIEnv *env, jobject obj, jobject sigar_obj$args_proto)";
|
||||
|
||||
my $jfile;
|
||||
if (-e "../../src/$jsrc/$jfile") {
|
||||
if (-e "../../src/$jsrc/$name.java") {
|
||||
print "skipping $jfile\n";
|
||||
#dont generate .java if already exists
|
||||
if ($has_dev_null) {
|
||||
$jfile = $DEVNULL;
|
||||
|
Loading…
Reference in New Issue
Block a user