diff options
-rwxr-xr-x | security/coreconf/jniregen.pl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/security/coreconf/jniregen.pl b/security/coreconf/jniregen.pl index 05774cff7..8bdd24448 100755 --- a/security/coreconf/jniregen.pl +++ b/security/coreconf/jniregen.pl @@ -99,8 +99,9 @@ foreach $filename (@ARGV) if( @filelist ) { $cmd = "$javah " . join(" ",@filelist); + $cmd =~ s/\'/\"/g; # because windows doesn't understand single quote print "$cmd\n"; - system("$cmd"); + exit (system($cmd) >> 8); } else { print "All JNI header files up to date.\n" } |