Revert "scripts/download.pl: fix sourceforge url"
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 26 Feb 2012 09:29:53 +0000 (09:29 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 26 Feb 2012 09:29:53 +0000 (09:29 +0000)
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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30730 3c298f89-4303-0410-b956-a3cf2f4a3e73

scripts/download.pl

index d79950f..042b1cc 100755 (executable)
@@ -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";
This page took 0.029802 seconds and 4 git commands to generate.