Bug 364499: Fix a problem where we conflated path w/ url; r=rhelmer

This commit is contained in:
preed%mozilla.com 2007-01-31 02:45:56 +00:00
Родитель 2653707f81
Коммит f7cdcb5f96
1 изменённых файлов: 3 добавлений и 2 удалений

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

@ -831,6 +831,8 @@ sub CreateCompletePatchinfo {
$complete->{$testUrlKey}, $complete->{$testUrlKey},
platform => $p, platform => $p,
locale => $l ); locale => $l );
} else {
$testPatch->{'url'} = $gen_complete_url;
} }
write_patch_info(patch => $testPatch, write_patch_info(patch => $testPatch,
@ -892,7 +894,6 @@ sub CreatePastReleasePatchinfo {
my $complete = $config->GetCurrentUpdate()->{'complete'}; my $complete = $config->GetCurrentUpdate()->{'complete'};
my $completePath = $complete->{'path'}; my $completePath = $complete->{'path'};
my $completeUrl = $complete->{'url'}; my $completeUrl = $complete->{'url'};
my $completeTestUrl = $complete->{'testurl'};
foreach my $fromPlatform (@pastFromPlatforms) { foreach my $fromPlatform (@pastFromPlatforms) {
# XXX - This is a hack, solely to support the fact that "mac" # XXX - This is a hack, solely to support the fact that "mac"
@ -1186,7 +1187,7 @@ sub CreatePartialPatchinfo {
platform => $p, platform => $p,
locale => $l ); locale => $l );
} else { } else {
$testPatch->{'url'} = $gen_partial_path; $testPatch->{'url'} = $gen_partial_url;
} }
write_patch_info(patch => $testPatch, write_patch_info(patch => $testPatch,