SeaMonkey wants registration with -register too, so use ProductName=SeaMonkey for new builds that want -register and ProductName=Mozilla for old builds that want regxpcom. (Getting SeaMonkey-Ports static build on balsa green again after update from 1.285 to 1.309.)

This commit is contained in:
dbaron%dbaron.org 2006-02-18 02:10:11 +00:00
parent 4b04b00311
commit 79cfe850ff

View File

@ -24,7 +24,7 @@ use Config; # for $Config{sig_name} and $Config{sig_num}
use File::Find ();
use File::Copy;
$::UtilsVersion = '$Revision: 1.309 $ ';
$::UtilsVersion = '$Revision: 1.310 $ ';
package TinderUtils;
@ -1681,7 +1681,7 @@ sub run_all_tests {
unlink("$binary_dir/components/compreg.dat") or warn "$binary_dir/components/compreg.dat not removed\n";
if($Settings::RegxpcomTest) {
my $args;
if ($Settings::ProductName =~ /^(Firefox|Thunderbird)$/) {
if ($Settings::ProductName =~ /^(Firefox|Thunderbird|SeaMonkey)$/) {
$args = [$binary, "-register"];
} else {
$args = ["$binary_dir/regxpcom"];