From e40232dae09f58e634ce064b8bf909a9bba6dbfc Mon Sep 17 00:00:00 2001 From: Pascal Terjan Date: Sat, 16 Apr 2022 19:11:30 +0000 Subject: Fix whitespace at the end of readlink result --- autobuild/results.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'autobuild') 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; } -- cgit v1.2.1