forked from len0rd/rockbox
Check for both .txt and .log
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@975 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
a4058ec28a
commit
558c9247f4
1 changed files with 4 additions and 1 deletions
|
|
@ -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>";
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue