mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-27 18:15:00 +02:00
scripts/download.pl: fix sourceforge url
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30726 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
1c824716f1
commit
dde0871987
@ -123,7 +123,7 @@ foreach my $mirror (@ARGV) {
|
|||||||
if ($mirror =~ /^\@SF\/(.+)$/) {
|
if ($mirror =~ /^\@SF\/(.+)$/) {
|
||||||
# give sourceforge a few more tries, because it redirects to different mirrors
|
# give sourceforge a few more tries, because it redirects to different mirrors
|
||||||
for (1 .. 5) {
|
for (1 .. 5) {
|
||||||
push @mirrors, "http://downloads.sourceforge.net/$1";
|
push @mirrors, "http://downloads.sourceforge.net/project/$1";
|
||||||
}
|
}
|
||||||
} elsif ($mirror =~ /^\@GNU\/(.+)$/) {
|
} elsif ($mirror =~ /^\@GNU\/(.+)$/) {
|
||||||
push @mirrors, "ftp://ftp.gnu.org/gnu/$1";
|
push @mirrors, "ftp://ftp.gnu.org/gnu/$1";
|
||||||
|
Loading…
Reference in New Issue
Block a user