summaryrefslogtreecommitdiff
path: root/scripts/download.pl
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-02-26 09:29:53 +0000
committerFelix Fietkau <nbd@openwrt.org>2012-02-26 09:29:53 +0000
commit548155ab7dab89ccd61a5f035a6add247768ad0a (patch)
treec33aaf3ca2528ac52d1238fb6689569a29edee83 /scripts/download.pl
parent8b91bad57e778abce6f58d0462e6a60d7b98155c (diff)
downloadmtk-20170518-548155ab7dab89ccd61a5f035a6add247768ad0a.zip
mtk-20170518-548155ab7dab89ccd61a5f035a6add247768ad0a.tar.gz
mtk-20170518-548155ab7dab89ccd61a5f035a6add247768ad0a.tar.bz2
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
Diffstat (limited to 'scripts/download.pl')
-rwxr-xr-xscripts/download.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/download.pl b/scripts/download.pl
index d79950f..042b1cc 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";