1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-27 18:17:32 +02:00

fix download script for sourceforge urls

git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3019 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd 2006-01-20 02:43:15 +00:00
parent 78af2ca1db
commit 350b643ec5

View File

@ -62,6 +62,9 @@ foreach my $mirror (@ARGV) {
/type="radio" name="use_default" value="(\w+)" onclick="form\.submit\(\)"\/>/ and do { /type="radio" name="use_default" value="(\w+)" onclick="form\.submit\(\)"\/>/ and do {
push @mirrors, "http://$1.dl.sourceforge.net/sourceforge/$sfpath"; 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"; push @mirrors, "http://dl.sourceforge.net/sourceforge/$sfpath";
close SF; close SF;