diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2012-02-26 09:29:53 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2012-02-26 09:29:53 +0000 |
commit | 9c02796660ac0cee17cd1eaaa7d863768208cca8 (patch) | |
tree | 8d2f751cb83b4f5179a8c1de5767c7b647871feb | |
parent | adfe634bb8deda71d137f3867dcac6058d88e6f5 (diff) |
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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30730 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rwxr-xr-x | scripts/download.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/download.pl b/scripts/download.pl index d79950f9b..042b1cce7 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"; |