help messages for post-mozilla.pl

This commit is contained in:
mcafee%netscape.com 2001-07-16 23:13:52 +00:00
Родитель 54d51fa4b8
Коммит 27833bcaa3
2 изменённых файлов: 22 добавлений и 1 удалений

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

@ -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.50 $ ';
$::UtilsVersion = '$Revision: 1.51 $ ';
package TinderUtils;
@ -868,10 +868,13 @@ sub DeleteBinary {
sub PrintEnv {
local $_;
# Print out environment settings.
my $key;
foreach $key (sort keys %ENV) {
print_log "$key=$ENV{$key}\n";
}
# Print out mozconfig if found.
if (defined $ENV{MOZCONFIG} and -e $ENV{MOZCONFIG}) {
print_log "-->mozconfig<----------------------------------------\n";
open CONFIG, "$ENV{MOZCONFIG}";
@ -879,6 +882,15 @@ sub PrintEnv {
close CONFIG;
print_log "-->end mozconfig<----------------------------------------\n";
}
# Say if we found post-mozilla.pl
if(-e "$Settings::BaseDir/post-mozilla.pl") {
print_log "Found post-mozilla.pl\n";
} else {
print_log "Didn't find $Settings::BaseDir/post-mozilla.pl\n";
}
# Print compiler setting
if ($Settings::Compiler ne '') {
print_log "===============================\n";
if ($Settings::Compiler eq 'gcc' or $Settings::Compiler eq 'egcc') {

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

@ -60,6 +60,12 @@ case "$build_action" in
echo "$build_type build already running with PID "`cat $build_type.pid`
else
echo "Starting $build_type tinderbox..."
# Say if we found post-mozilla.pl
if test -f post-mozilla.pl; then
echo "Found post-mozilla.pl"
fi
# Grab and use mozconfig if it exists.
if test -f mozconfig; then
echo "Found mozconfig..."
@ -70,6 +76,9 @@ case "$build_action" in
else
nohup ./build-seamonkey.pl --$build_type &
fi
# Write out PID so we can shut things down later.
# This needs to be right after the ./build-seamonkey.pl call to
# get the right PID.
echo "PID $!"
echo $! > $build_type.pid
\rm -f nohup.out