X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=scripts%2Fdownload.pl;h=cd68a7bcd0cf4ade9caf82cf305e43ed155539d5;hb=2900f6984f1477d0f9986a24d095957349675507;hp=9603e708d12c89b83cc8d3ced3037a4a0dd78e91;hpb=b0a1c7dc0d825d5435111a8c005e1e8d5449ebee;p=openwrt%2Fstaging%2Flynxis%2Fomap.git diff --git a/scripts/download.pl b/scripts/download.pl index 9603e708d1..cd68a7bcd0 100755 --- a/scripts/download.pl +++ b/scripts/download.pl @@ -40,6 +40,9 @@ sub localmirrors { close CONFIG; }; + my $mirror = $ENV{'DOWNLOAD_MIRROR'}; + $mirror and push @mlist, split(/;/, $mirror); + return @mlist; }