scripts/download.pl: fix sourceforge url
authorFelix Fietkau <nbd@openwrt.org>
Sat, 25 Feb 2012 20:44:02 +0000 (20:44 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sat, 25 Feb 2012 20:44:02 +0000 (20:44 +0000)
SVN-Revision: 30726

scripts/download.pl

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