summaryrefslogtreecommitdiff
path: root/www/dailysrc.pl
diff options
context:
space:
mode:
Diffstat (limited to 'www/dailysrc.pl')
-rwxr-xr-xwww/dailysrc.pl21
1 files changed, 0 insertions, 21 deletions
diff --git a/www/dailysrc.pl b/www/dailysrc.pl
deleted file mode 100755
index 0143909c39..0000000000
--- a/www/dailysrc.pl
+++ /dev/null
@@ -1,21 +0,0 @@
1#!/usr/bin/perl
2
3$basedir = "/home/dast/rockbox-build/daily-build/";
4
5opendir(DIR, $basedir) or
6 die "Can't opendir($basedir)";
7@tarballs = sort grep { /^rockbox-daily-/ } readdir(DIR);
8closedir DIR;
9
10for ( sort {$b cmp $a} @tarballs ) {
11 $size = (stat("$basedir/$_"))[7];
12 $log = "";
13 if (/-(\d+)/) {
14 $date = $1;
15 if ( -f "$basedir/changes-$date.html") {
16 $log = "<a href=\"daily/changes-$date.html\">Changes done $date</a>";
17 }
18 }
19 print "$log\n";
20 last;
21}