mirror of
git://code.qt.io/qt/qt5.git
synced 2026-05-09 12:37:50 +08:00
Don't fog the $mirror
WebKit mirror worked, but the general mirror was shadowed after reorganizing code.
This commit is contained in:
@@ -249,7 +249,7 @@ if (!$no_update) {
|
|||||||
|
|
||||||
my $mirror;
|
my $mirror;
|
||||||
if ($mirror_url && ($repo ne "qtwebkit")) {
|
if ($mirror_url && ($repo ne "qtwebkit")) {
|
||||||
my $mirror = $mirror_url.$repo;
|
$mirror = $mirror_url.$repo;
|
||||||
$mirror .= ".git" unless (-d $mirror); # Support local disk mirror
|
$mirror .= ".git" unless (-d $mirror); # Support local disk mirror
|
||||||
} elsif ($mirror_webkit_url && ($repo eq "qtwebkit")) {
|
} elsif ($mirror_webkit_url && ($repo eq "qtwebkit")) {
|
||||||
$mirror = $mirror_webkit_url;
|
$mirror = $mirror_webkit_url;
|
||||||
|
|||||||
Reference in New Issue
Block a user