build: store SOURCE_DATE_EPOCH in JSON info files
[openwrt/openwrt.git] / scripts / download.pl
index 1d3ff02c5bbef8a0fa55394bbfae4a6d9f6d5555..cdccae133f499f0ca46a1324b87ddd1334750f7f 100755 (executable)
@@ -243,7 +243,7 @@ foreach my $mirror (@ARGV) {
                        push @mirrors, "ftp://ftp.riken.jp/Linux/kernel.org/$dir";
                        push @mirrors, "ftp://www.mirrorservice.org/sites/ftp.kernel.org/pub/$dir";
                }
-    } elsif ($mirror =~ /^\@GNOME\/(.+)$/) {
+       } elsif ($mirror =~ /^\@GNOME\/(.+)$/) {
                push @mirrors, "https://mirror.csclub.uwaterloo.ca/gnome/sources/$1";
                push @mirrors, "http://ftp.acc.umu.se/pub/GNOME/sources/$1";
                push @mirrors, "http://ftp.kaist.ac.kr/gnome/sources/$1";
@@ -252,13 +252,11 @@ foreach my $mirror (@ARGV) {
                push @mirrors, "http://ftp.belnet.be/ftp.gnome.org/sources/$1";
                push @mirrors, "ftp://ftp.cse.buffalo.edu/pub/Gnome/sources/$1";
                push @mirrors, "ftp://ftp.nara.wide.ad.jp/pub/X11/GNOME/sources/$1";
-    }
-    else {
+       } else {
                push @mirrors, $mirror;
        }
 }
 
-unshift @mirrors, 'https://sources.cdn.openwrt.org';
 #push @mirrors, 'https://mirror1.openwrt.org';
 push @mirrors, 'https://sources.openwrt.org';
 push @mirrors, 'https://mirror2.openwrt.org/sources';