2002-05-27 14:22:23 +00:00
|
|
|
#!/usr/bin/perl
|
|
|
|
|
|
|
|
$basedir = "/home/dast/rockbox-build/daily-build";
|
|
|
|
|
|
|
|
sub list {
|
|
|
|
$dir = shift @_;
|
|
|
|
|
|
|
|
opendir(DIR, "$basedir/$dir") or
|
|
|
|
die "Can't opendir($basedir/$dir)";
|
2002-06-11 12:25:56 +00:00
|
|
|
@tarballs = sort grep { /^a/ } readdir(DIR);
|
2002-05-27 14:22:23 +00:00
|
|
|
closedir DIR;
|
|
|
|
|
|
|
|
print "<ul>\n";
|
|
|
|
for ( @tarballs ) {
|
|
|
|
print "<li><a href=\"daily/$dir/$_\">$_</a>\n";
|
|
|
|
}
|
|
|
|
print "</ul>\n";
|
|
|
|
}
|
|
|
|
|
2003-03-20 07:32:06 +00:00
|
|
|
print "<table class=rockbox><tr><th>player</th><th>recorder</th><th>fm recorder</th><th>8MB recorder</th></tr>\n";
|
2002-10-15 15:06:44 +00:00
|
|
|
print "<tr><td>\n";
|
2002-05-27 14:22:23 +00:00
|
|
|
&list("player");
|
|
|
|
|
2002-10-15 15:06:44 +00:00
|
|
|
print "</td><td>\n";
|
2002-05-27 14:22:23 +00:00
|
|
|
&list("recorder");
|
2002-06-11 12:25:56 +00:00
|
|
|
|
2003-02-17 14:11:57 +00:00
|
|
|
print "</td><td>\n";
|
2003-02-03 12:28:28 +00:00
|
|
|
&list("fmrecorder");
|
|
|
|
|
2003-03-20 07:32:06 +00:00
|
|
|
print "</td><td>\n";
|
|
|
|
&list("recorder8mb");
|
|
|
|
|
2002-06-11 12:25:56 +00:00
|
|
|
print "</td></tr></table>\n";
|