diff options
author | Björn Stenberg <bjorn@haxx.se> | 2002-05-29 08:30:36 +0000 |
---|---|---|
committer | Björn Stenberg <bjorn@haxx.se> | 2002-05-29 08:30:36 +0000 |
commit | cc78063f7063d7fb4f7c8a781d1b1fcfd0ae4d14 (patch) | |
tree | 50f0a901a7731b712497c359c09519d48fee9f22 /www/dailysrc.pl | |
parent | f03d691af1d62bdaf7997e832354759ecd5f241c (diff) | |
download | rockbox-cc78063f7063d7fb4f7c8a781d1b1fcfd0ae4d14.tar.gz rockbox-cc78063f7063d7fb4f7c8a781d1b1fcfd0ae4d14.zip |
Added changelog
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@775 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'www/dailysrc.pl')
-rwxr-xr-x | www/dailysrc.pl | 10 |
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; | |||
10 | print "<ul>\n"; | 10 | print "<ul>\n"; |
11 | 11 | ||
12 | for ( @tarballs ) { | 12 | for ( @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 | ||
16 | print "</ul>\n"; | 24 | print "</ul>\n"; |