added support for automagically setting timebombs in the build. only used for mozilla official builds, shouldn't affect anything. (famous last words i know)

This commit is contained in:
cyeh%netscape.com 1998-08-31 22:54:56 +00:00
Родитель 05d16ed8c9
Коммит a8d66f70b5
2 изменённых файлов: 11 добавлений и 6 удалений

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

@ -4,7 +4,7 @@ package BuildList;
require Exporter;
@ISA = qw(Exporter);
@EXPORT = qw(BuildMozilla DistMozilla SetBuildNumber SetAgentString);
@EXPORT = qw(BuildMozilla DistMozilla SetBuildNumber SetAgentString SetTimeBomb);
=head1 NAME
@ -361,10 +361,6 @@ sub DistMozilla()
sub SetAgentString
{
use Cwd;
$cwd = cwd();
print $cwd;
open (BDATE, ":mozilla:config:build_number") || die "could not open buildnumber";
@ -395,5 +391,12 @@ sub SetAgentString
rename (":mozilla:cmd:macfe:restext:agent.r", ":mozilla:cmd:macfe:restext:custom.r");
}
sub SetTimeBomb
{
system("perl :mozilla:config:mac-set-timebomb.pl");
}
1;

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

@ -38,9 +38,11 @@ DistMozilla();
# Set the build number in about-all.html. Commented out for now
# until ckid/mcvs resource problem is resolved.
SetBuildNumber();
# SetBuildNumber();
SetAgentString();
SetTimeBomb();
# Now build the projects
BuildMozilla();