aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2018-02-20 12:43:01 -0800
committerJohn Crispin <john@phrozen.org>2018-05-01 11:12:15 +0200
commit1ce846580a638bb8a9f9c2571840be65331be38e (patch)
tree9579563d462437a1582255486cb488bcebf9092f
parent9ea90209f9ef3a786b34995092e830c50a65ddfd (diff)
downloadupstream-1ce846580a638bb8a9f9c2571840be65331be38e.tar.gz
upstream-1ce846580a638bb8a9f9c2571840be65331be38e.tar.bz2
upstream-1ce846580a638bb8a9f9c2571840be65331be38e.zip
download.pl: Change OpenWrt mirrors to HTTPS.
These have supported HTTPS for quite a while. I have not seen any obvious breakage. Signed-off-by: Rosen Penev <rosenp@gmail.com>
-rwxr-xr-xscripts/download.pl8
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/download.pl b/scripts/download.pl
index 324cfdb3b3..34fd6a6f0b 100755
--- a/scripts/download.pl
+++ b/scripts/download.pl
@@ -257,10 +257,10 @@ foreach my $mirror (@ARGV) {
}
}
-#push @mirrors, 'http://mirror1.openwrt.org';
-push @mirrors, 'http://sources.lede-project.org';
-push @mirrors, 'http://mirror2.openwrt.org/sources';
-push @mirrors, 'http://downloads.openwrt.org/sources';
+#push @mirrors, 'https://mirror1.openwrt.org';
+push @mirrors, 'https://sources.lede-project.org';
+push @mirrors, 'https://mirror2.openwrt.org/sources';
+push @mirrors, 'https://downloads.openwrt.org/sources';
while (!-f "$target/$filename") {
my $mirror = shift @mirrors;