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";
|
|
|
|
}
|
|
|
|
|
2002-10-15 15:06:44 +00:00
|
|
|
print "<table class=rockbox><tr><th>player</th><th>recorder</th></tr>\n";
|
|
|
|
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
|
|
|
|
|
|
|
print "</td></tr></table>\n";
|