gecko-dev/config/aboutime.pl

25 строки
474 B
Perl
Исходник Обычный вид История

1998-08-25 03:08:56 +04:00
use strict;
use Getopt::Std;
require mozBDate;
require "Moz/Milestone.pm";
my $mfile;
getopts('m:');
if (defined($::opt_m)) {
$mfile = $::opt_m;
}
my $outfile = $ARGV[0];
my $build_num_file = $ARGV[1];
my $infile = "";
1998-08-25 03:08:56 +04:00
$infile = $ARGV[2] if ("$ARGV[2]" ne "");
if (defined($mfile)) {
my $milestone = &Moz::Milestone::getOfficialMilestone($mfile);
&mozBDate::SetMilestone($milestone);
}
&mozBDate::SubstituteBuildNumber($outfile, $build_num_file, $infile);
1998-08-25 03:08:56 +04:00