Revert "scripts/download.pl: fix sourceforge url"

To use the new url, the project name would need to be appended multiple times,
let's hope the old redirect will continue to work in the future

SVN-Revision: 30730
This commit is contained in:
Felix Fietkau 2012-02-26 09:29:53 +00:00
parent 8b91bad57e
commit 548155ab7d

View file

@ -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/project/$1"; push @mirrors, "http://downloads.sourceforge.net/$1";
} }
} elsif ($mirror =~ /^\@GNU\/(.+)$/) { } elsif ($mirror =~ /^\@GNU\/(.+)$/) {
push @mirrors, "ftp://ftp.gnu.org/gnu/$1"; push @mirrors, "ftp://ftp.gnu.org/gnu/$1";