summaryrefslogtreecommitdiff
path: root/www/dailysrc.pl
diff options
context:
space:
mode:
Diffstat (limited to 'www/dailysrc.pl')
-rwxr-xr-xwww/dailysrc.pl8
1 files changed, 3 insertions, 5 deletions
diff --git a/www/dailysrc.pl b/www/dailysrc.pl
index 71f49c8423..25495d557c 100755
--- a/www/dailysrc.pl
+++ b/www/dailysrc.pl
@@ -15,13 +15,11 @@ for ( @tarballs ) {
15 if (/-(\d+)/) { 15 if (/-(\d+)/) {
16 $date = $1; 16 $date = $1;
17 if ( -f "$basedir/changes-$date.txt") { 17 if ( -f "$basedir/changes-$date.txt") {
18 $log = "<a href=\"daily/changes-$date.txt\">Changelog</a>"; 18 $lines = `grep "Number of changes:" $basedir/changes-$date.txt | cut "-d " -f4` + 0;
19 } 19 $log = "<a href=\"daily/changes-$date.txt\">Changelog</a> <small>($lines changes)</small>";
20 elsif ( -f "$basedir/changes-$date.log") {
21 $log = "<a href=\"daily/changes-$date.log\">Changelog</a>";
22 } 20 }
23 } 21 }
24 print "<li><a href=\"daily/$_\">$_</a> ($size bytes) $log\n"; 22 print "<li><a href=\"daily/$_\">$_</a> <small>($size bytes)</small> $log\n";
25} 23}
26 24
27print "</ul>\n"; 25print "</ul>\n";