fix sourceforge mirrors, thx d1mag
authorWaldemar Brodkorb <mail@waldemar-brodkorb.de>
Tue, 6 Dec 2005 22:39:53 +0000 (22:39 +0000)
committerWaldemar Brodkorb <mail@waldemar-brodkorb.de>
Tue, 6 Dec 2005 22:39:53 +0000 (22:39 +0000)
SVN-Revision: 2582

openwrt/scripts/download.pl

index 4dc40f0e580d0c23d92b67f320309e105520a6ec..43dc7965b87e50f219080d8e22f3ad33227e5784 100755 (executable)
@@ -59,7 +59,7 @@ foreach my $mirror (@ARGV) {
                my $sfpath = $1;
                open SF, "wget -t1 -q -O- 'http://prdownloads.sourceforge.net/$sfpath/$filename' |";
                while (<SF>) {
-                       /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";
                        };
                }