summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--autobuild/results.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/autobuild/results.php b/autobuild/results.php
index 7bccbe7..b134bc6 100644
--- a/autobuild/results.php
+++ b/autobuild/results.php
@@ -36,7 +36,7 @@ $latest = 0;
foreach ($latestlinks as $link) {
# This is ugly but readlink() returns false even if is_link() returns
# true and readlink() as user apache in php cli works.
- $date = `readlink $link`;
+ $date = trim(`readlink $link`);
if ($date > $latest) {
$latest = $date;
}