diff options
author | nicolson%netscape.com <devnull@localhost> | 2001-06-27 00:28:56 +0000 |
---|---|---|
committer | nicolson%netscape.com <devnull@localhost> | 2001-06-27 00:28:56 +0000 |
commit | a2be003cf08a8868c5e4b1b111f6430644e16ae5 (patch) | |
tree | bf6df25aacba61be39b7739b2fc7b9b00a34b602 | |
parent | fdc75c70b8cb8045db5736bbb6dd5f3ea7f926cb (diff) | |
download | nss-hg-a2be003cf08a8868c5e4b1b111f6430644e16ae5.tar.gz |
Windows doesn't understand single quotes, so it fudges the command.
-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" } |