Don't fog the $mirror

WebKit mirror worked, but the general mirror was shadowed after
reorganizing code.
This commit is contained in:
Marius Storm-Olsen
2011-05-05 13:09:17 -05:00
parent 8b83cf2bcf
commit 780b928e4c

View File

@@ -249,7 +249,7 @@ if (!$no_update) {
my $mirror;
if ($mirror_url && ($repo ne "qtwebkit")) {
my $mirror = $mirror_url.$repo;
$mirror = $mirror_url.$repo;
$mirror .= ".git" unless (-d $mirror); # Support local disk mirror
} elsif ($mirror_webkit_url && ($repo eq "qtwebkit")) {
$mirror = $mirror_webkit_url;