From: Felix Fietkau Date: Sun, 26 Feb 2012 09:29:53 +0000 (+0000) Subject: Revert "scripts/download.pl: fix sourceforge url" X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=d05ecc9cc8a888f762a4fa4441c2b639cf07b96a;p=openwrt%2Fsvn-archive%2Farchive.git 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 --- diff --git a/scripts/download.pl b/scripts/download.pl index d79950f9b2..042b1cce7d 100755 --- a/scripts/download.pl +++ b/scripts/download.pl @@ -123,7 +123,7 @@ foreach my $mirror (@ARGV) { if ($mirror =~ /^\@SF\/(.+)$/) { # give sourceforge a few more tries, because it redirects to different mirrors for (1 .. 5) { - push @mirrors, "http://downloads.sourceforge.net/project/$1"; + push @mirrors, "http://downloads.sourceforge.net/$1"; } } elsif ($mirror =~ /^\@GNU\/(.+)$/) { push @mirrors, "ftp://ftp.gnu.org/gnu/$1";