Allow for second private chat trigger (
bug 3667, r,a11=pred).
5 my ($myself, $path) = fileparse($0);
13 our $SSH = 'ssh -i ../../smpvkey';
15 open(PDBLOG, 'OUTPUT/pdblog.txt') or die "Could not open pdblog.txt: $!\n";
17 #Sync us up with the main symbol store
22 $version = Build::ProductVersion(Build::PathFormat('product.version'));
23 $version .= '-hg' . Build::HgRevNum('.');
31 Build::Command("symstore add /r /f \"$line\" /s ..\\..\\symstore /t \"SourceMod\" /v \"$version\" /c \"buildbot\"");
36 #Lowercase DLLs. Sigh.
38 opendir(DIR, "..\\..\\symstore");
39 @files = readdir(DIR);
42 my ($i, $j, $file, @subdirs);
43 for ($i = 0; $i <= $#files; $i++)
46 next unless ($file =~ /\.dll$/);
47 next unless (-d "..\\..\\symstore\\$file");
48 opendir(DIR, "..\\..\\symstore\\$file");
49 @subdirs = readdir(DIR);
51 for ($j = 0; $j <= $#subdirs; $j++)
53 next unless ($subdirs[$j] =~ /[A-Z]/);
54 Build::Command("rename ..\\..\\symstore\\$file\\" . $subdirs[$j] . " " . lc($subdirs[$j]));
58 #Now that we're done, rsync back.
63 my ($from, $to) = (@_);
65 Build::Command('rsync -av --delete -e="' . $SSH . '" ' . $from . ' ' . $to);