Trigger build for hl2sdk-l4d changes.
5 my ($myself, $path) = fileparse($0);
13 open(PDBLOG, '../OUTPUT/pdblog.txt') or die "Could not open pdblog.txt: $!\n";
17 $version = Build::ProductVersion(Build::PathFormat('product.version'));
18 $version =~ s/-dev//g;
19 $version .= '-hg' . Build::HgRevNum('.');
22 $build_type = Build::GetBuildType(Build::PathFormat('support/buildbot/build_type'));
24 if ($build_type eq "dev")
26 $build_type = "buildbot";
28 elsif ($build_type eq "rel")
30 $build_type = "release";
39 Build::Command("symstore add /r /f \"..\\OUTPUT\\$line\" /s \"S:\\mmsource\" /t \"Metamod:Source\" /v \"$version\" /c \"$build_type\"");
44 #Lowercase DLLs. Sigh.
46 opendir(DIR, "S:\\mmsource") or die "Could not open mmsource symbol folder: $!\n";
47 @files = readdir(DIR);
50 my ($i, $j, $file, @subdirs);
51 for ($i = 0; $i <= $#files; $i++)
54 next unless ($file =~ /\.dll$/);
55 next unless (-d "S:\\mmsource\\$file");
56 opendir(DIR, "S:\\mmsource\\$file") or die "Could not open S:\\mmsource\\$file: $!\n";
57 @subdirs = readdir(DIR);
59 for ($j = 0; $j <= $#subdirs; $j++)
61 next unless ($subdirs[$j] =~ /[A-Z]/);
62 Build::Command("rename S:\\mmsource\\$file\\" . $subdirs[$j] . " " . lc($subdirs[$j]));