Only pull client.mk if it does not exist. It updates itself now.

This commit is contained in:
slamm%netscape.com 2000-02-23 22:05:43 +00:00
Родитель 1aba5fb45c
Коммит 5f9a59cfeb
1 изменённых файлов: 5 добавлений и 5 удалений

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

@ -10,7 +10,7 @@ use Sys::Hostname;
use POSIX qw(sys_wait_h strftime);
use Cwd;
$Version = '$Revision: 1.60 $ ';
$Version = '$Revision: 1.61 $ ';
sub PrintUsage {
@ -189,10 +189,10 @@ sub BuildIt {
mkdir $TopLevel, 0777;
chdir $TopLevel or die "chdir($TopLevel): $!\n";
unless ($TestOnly) {
print "$CVS $CVSCO mozilla/client.mk\n";
print LOG "$CVS $CVSCO mozilla/client.mk\n";
open PULL, "$CVS $CVSCO mozilla/client.mk 2>&1 |" or die "open: $!\n";
unless (-e "$Topsrcdir/client.mk") {
print "$CVS $CVSCO $Topsrcdir/client.mk\n";
print LOG "$CVS $CVSCO $Topsrcdir/client.mk\n";
open PULL, "$CVS $CVSCO $Topsrcdir/client.mk 2>&1 |" or die "open: $!\n";
while (<PULL>) {
print $_;
print LOG $_;