Attempted to lcase dll dirs in the symstore.
This commit is contained in:
parent
6c1259f6e6
commit
b1646accb9
@ -33,6 +33,28 @@ while (<PDBLOG>)
|
||||
|
||||
close(PDBLOG);
|
||||
|
||||
#Lowercase DLLs. Sigh.
|
||||
my (@files);
|
||||
opendir(DIR, "..\\..\\symstore");
|
||||
@files = readdir(DIR);
|
||||
closedir(DIR);
|
||||
|
||||
my ($i, $j, $file, @subdirs);
|
||||
for ($i = 0; $i <= $#files; $i++)
|
||||
{
|
||||
$file = $files[$i];
|
||||
next unless ($file =~ /\.dll$/);
|
||||
next unless (-d "..\\..\\symstore\\$file");
|
||||
opendir(DIR, "..\\..\\symstore\\$file");
|
||||
@subdirs = readdir(DIR);
|
||||
closedir(DIR);
|
||||
for ($j = 0; $j < $#subdirs; $j++)
|
||||
{
|
||||
next unless ($subdirs[$j] =~ /[A-Z]/);
|
||||
Build::Command("rename ..\\..\\symstore\\$file\\" . $subdirs[$j] . " ..\\..\\symstore\\$file\\" . lc($subdirs[$j]));
|
||||
}
|
||||
}
|
||||
|
||||
#Now that we're done, rsync back.
|
||||
rsync('../../symstore/', 'sourcemod@alliedmods.net:~/public_html/symbols');
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user