From: Waldemar Brodkorb Date: Tue, 6 Dec 2005 22:39:53 +0000 (+0000) Subject: fix sourceforge mirrors, thx d1mag X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=cb21d6b25c5088ef5a4f76f67290b26b73eaee73;p=openwrt%2Fstaging%2Fwigyori.git fix sourceforge mirrors, thx d1mag SVN-Revision: 2582 --- diff --git a/openwrt/scripts/download.pl b/openwrt/scripts/download.pl index 4dc40f0e58..43dc7965b8 100755 --- a/openwrt/scripts/download.pl +++ b/openwrt/scripts/download.pl @@ -59,7 +59,7 @@ foreach my $mirror (@ARGV) { my $sfpath = $1; open SF, "wget -t1 -q -O- 'http://prdownloads.sourceforge.net/$sfpath/$filename' |"; while () { - /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"; }; }