5 die "Must set \$LJHOME before running this.\n"
6 unless -d
$ENV{'LJHOME'};
8 my $LJHOME = $ENV{'LJHOME'};
13 chdir $LJHOME or die "Couldn't chdir to \$LJHOME directory.\n";
15 system("cvs/vcv/bin/vcv --conf=cvs/livejournal/cvs/multicvs.conf -c -s")
16 and die "Failed to run vcv ... do you have the cvs/ dir?\n";
22 if ($mode eq "makerelease") {
24 my $path = $ENV{'RELDIR'};
25 $path .= "/" if $path;
30 $file = sprintf("${path}livejournal-%04d%02d%02d%02d.tar.gz", $now[5]+1900, $now[4]+1, $now[3], $ct);
34 system("tar -zcvf $file README.txt bootstrap.pl cvs") and die;
40 die "Unknown mode.\n";