fix file check

This commit is contained in:
Doug MacEachern 2006-07-11 00:25:08 +00:00
parent 7b17fae247
commit 3c17c4974e

View File

@ -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;