From f7cdcb5f9602ba2efeba9961688467b53fe99b3b Mon Sep 17 00:00:00 2001 From: "preed%mozilla.com" Date: Wed, 31 Jan 2007 02:45:56 +0000 Subject: [PATCH] Bug 364499: Fix a problem where we conflated path w/ url; r=rhelmer --- tools/patcher/patcher2.pl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tools/patcher/patcher2.pl b/tools/patcher/patcher2.pl index 6a842e06280b..2f9c16b8a30c 100755 --- a/tools/patcher/patcher2.pl +++ b/tools/patcher/patcher2.pl @@ -831,6 +831,8 @@ sub CreateCompletePatchinfo { $complete->{$testUrlKey}, platform => $p, locale => $l ); + } else { + $testPatch->{'url'} = $gen_complete_url; } write_patch_info(patch => $testPatch, @@ -892,7 +894,6 @@ sub CreatePastReleasePatchinfo { my $complete = $config->GetCurrentUpdate()->{'complete'}; my $completePath = $complete->{'path'}; my $completeUrl = $complete->{'url'}; - my $completeTestUrl = $complete->{'testurl'}; foreach my $fromPlatform (@pastFromPlatforms) { # XXX - This is a hack, solely to support the fact that "mac" @@ -1186,7 +1187,7 @@ sub CreatePartialPatchinfo { platform => $p, locale => $l ); } else { - $testPatch->{'url'} = $gen_partial_path; + $testPatch->{'url'} = $gen_partial_url; } write_patch_info(patch => $testPatch,