Adding support for user comments, mozconfig.

This commit is contained in:
mcafee%netscape.com 2001-04-06 22:38:16 +00:00
parent f437cac002
commit 13d4e4e415
3 changed files with 14 additions and 2 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.37 $ ';
$::UtilsVersion = '$Revision: 1.38 $ ';
package TinderUtils;
@ -581,6 +581,11 @@ sub BuildIt {
print_log "current dir is -- " . $ENV{HOST} . ":$build_dir\n";
print_log "Build Administrator is $Settings::BuildAdministrator\n";
# Print user comment if there is one.
if ($Settings::UserComment) {
print_log "$Settings::UserComment\n";
}
# System id
print_log "uname -a = " . `uname -a`;

View File

@ -42,6 +42,10 @@ $Tinderbox_server = 'tinderbox-daemon@tinderbox.mozilla.org';
#- Set if you want to build in a separate object tree
$ObjDir = '';
# User comment, eg. ip address for dhcp builds.
# ex: $UserComment = "ip = 208.12.36.108";
$UserComment = 0;
#-
#- The rest should not need to be changed
#-

View File

@ -26,7 +26,10 @@
# Assumes that at most two tinderboxes are running
# simultaneously, depend and clobber.
#
# Assumes that if mozconfig exists, use it.
# Assumes that if mozconfig exists, use it. Format:
# mk_add_options MOZ_MAKE_FLAGS=j8
# ac_add_options --disable-debug
# ac_add_options --enable-optimize
#