Windows doesn't understand single quotes, so it fudges the command.

This commit is contained in:
nicolson%netscape.com 2001-06-27 00:28:56 +00:00
Родитель bca157fa24
Коммит 3a261e095a
1 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -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"
}