Add support for more informative tinderbox column names.

Move the automatic setting of CVSROOT so that it can be overridden by tinder-config.pl.


git-svn-id: svn://10.0.0.236/trunk@68214 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
cls%seawood.org
2000-05-04 07:30:45 +00:00
parent 002b34ecf5
commit e0beaba32c
2 changed files with 5 additions and 4 deletions

View File

@@ -18,7 +18,7 @@ use POSIX qw(sys_wait_h strftime);
use Cwd;
use File::Basename; # for basename();
use Config; # for $Config{sig_name} and $Config{sig_num}
$::UtilsVersion = '$Revision: 1.17 $ ';
$::UtilsVersion = '$Revision: 1.18 $ ';
package TinderUtils;
@@ -243,6 +243,7 @@ sub GetSystemInfo {
}
}
}
$Settings::BuildName .= " $Settings::BuildNameExtra";
}
sub LoadConfig {
@@ -556,7 +557,7 @@ sub BuildIt {
my $make = "$Settings::Make -f client.mk";
my $targets = $TreeSpecific::checkout_target;
$targets = $TreeSpecific::checkout_clobber_target unless $Settings::BuildDepend;
mkdir $Settings::ObjDir, 0777 if ($Settings::ObjDir && ! -e $Settings::ObjDir);
mkdir $Settings::ObjDir, 0777 if ($Settings::ObjDir && ! -e $Settings::ObjDir);
my $status = run_shell_command "$make $targets";
if ($status != 0) {

View File

@@ -12,9 +12,10 @@ use strict;
# They are not initialized here. The default values are after "__END__".
$TreeSpecific::name = $TreeSpecific::checkout_target = $TreeSpecific::checkout_clobber_target = $::Version = undef;
$::Version = '$Revision: 1.94 $ ';
$::Version = '$Revision: 1.95 $ ';
{
$ENV{CVSROOT} = ":pserver:$ENV{USER}%netscape.com\@cvs.mozilla.org:/cvsroot";
TinderUtils::Setup();
tree_specific_overides();
TinderUtils::Build();
@@ -26,7 +27,6 @@ $::Version = '$Revision: 1.94 $ ';
sub tree_specific_overides {
$ENV{CVSROOT} = ":pserver:$ENV{USER}%netscape.com\@cvs.mozilla.org:/cvsroot";
$TreeSpecific::name = 'mozilla';
$TreeSpecific::checkout_target = '';