projects
/
openwrt
/
staging
/
linusw.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c0cb14
)
fix download script for sourceforge urls
author
Felix Fietkau
<nbd@openwrt.org>
Fri, 20 Jan 2006 02:43:15 +0000
(
02:43
+0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Fri, 20 Jan 2006 02:43:15 +0000
(
02:43
+0000)
SVN-Revision: 3019
openwrt/scripts/download.pl
patch
|
blob
|
history
diff --git
a/openwrt/scripts/download.pl
b/openwrt/scripts/download.pl
index 9f46810a823e479af1749a6e5d09895fad6588a1..84c97cf9a92aa716af474f240ad36c1edf9fcf19 100755
(executable)
--- a/
openwrt/scripts/download.pl
+++ b/
openwrt/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;