summaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorBjörn Stenberg <bjorn@haxx.se>2002-06-12 12:59:57 +0000
committerBjörn Stenberg <bjorn@haxx.se>2002-06-12 12:59:57 +0000
commit558c9247f4597996da866aa3c2e129e2e11b560d (patch)
treeb977cc5801979279d7ebe8a5db9b00149aaa5f88 /www
parenta4058ec28ac8a53f4c18e76580fb9b2321ec1322 (diff)
downloadrockbox-558c9247f4597996da866aa3c2e129e2e11b560d.tar.gz
rockbox-558c9247f4597996da866aa3c2e129e2e11b560d.zip
Check for both .txt and .log
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@975 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'www')
-rwxr-xr-xwww/dailysrc.pl5
1 files changed, 4 insertions, 1 deletions
diff --git a/www/dailysrc.pl b/www/dailysrc.pl
index 27ef1994ed..71f49c8423 100755
--- a/www/dailysrc.pl
+++ b/www/dailysrc.pl
@@ -14,7 +14,10 @@ for ( @tarballs ) {
$log = "";
if (/-(\d+)/) {
$date = $1;
- if ( -f "$basedir/changes-$date.log") {
+ if ( -f "$basedir/changes-$date.txt") {
+ $log = "<a href=\"daily/changes-$date.txt\">Changelog</a>";
+ }
+ elsif ( -f "$basedir/changes-$date.log") {
$log = "<a href=\"daily/changes-$date.log\">Changelog</a>";
}
}