summaryrefslogtreecommitdiff
path: root/www/dailysrc.pl
diff options
context:
space:
mode:
Diffstat (limited to 'www/dailysrc.pl')
-rwxr-xr-xwww/dailysrc.pl10
1 files changed, 9 insertions, 1 deletions
diff --git a/www/dailysrc.pl b/www/dailysrc.pl
index d14239eefd..ea3cd40a13 100755
--- a/www/dailysrc.pl
+++ b/www/dailysrc.pl
@@ -10,7 +10,15 @@ closedir DIR;
10print "<ul>\n"; 10print "<ul>\n";
11 11
12for ( @tarballs ) { 12for ( @tarballs ) {
13 print "<li><a href=\"daily/$_\">$_</a>\n"; 13 $size = (stat("$basedir/$_"))[7];
14 $log = "";
15 if (/-(\d+)/) {
16 $date = $1;
17 if ( -f "$basedir/changes-$date.log") {
18 $log = "<a href=\"daily/changes-$date.log\">Changelog</a>";
19 }
20 }
21 print "<li><a href=\"daily/$_\">$_</a> ($size bytes) $log\n";
14} 22}
15 23
16print "</ul>\n"; 24print "</ul>\n";