aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-01-20 02:43:15 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-01-20 02:43:15 +0000
commitd300ebcaafad097de9ea216786cd49187f27616e (patch)
tree9a86bc8160eacbf3596ef82f2770ef331c98e784 /scripts
parentcfd870dfc18b92239d8944e6df0eaf1c1c3dd180 (diff)
downloadmaster-187ad058-d300ebcaafad097de9ea216786cd49187f27616e.tar.gz
master-187ad058-d300ebcaafad097de9ea216786cd49187f27616e.tar.bz2
master-187ad058-d300ebcaafad097de9ea216786cd49187f27616e.zip
fix download script for sourceforge urls
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3019 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/download.pl3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/download.pl b/scripts/download.pl
index 9f46810a82..84c97cf9a9 100755
--- a/scripts/download.pl
+++ b/scripts/download.pl
@@ -62,6 +62,9 @@ foreach my $mirror (@ARGV) {
/type="radio" name="use_default" value="(\w+)" onclick="form\.submit\(\)"\/>/ and do {
push @mirrors, "http://$1.dl.sourceforge.net/sourceforge/$sfpath";
};
+ /<a href="\/.+\?use_mirror=(\w+)"><b>Download/ and do {
+ push @mirrors, "http://$1.dl.sourceforge.net/sourceforge/$sfpath";
+ };
}
push @mirrors, "http://dl.sourceforge.net/sourceforge/$sfpath";
close SF;