summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mageia.org>2022-04-16 19:11:30 +0000
committerPascal Terjan <pterjan@mageia.org>2022-04-16 19:11:30 +0000
commite40232dae09f58e634ce064b8bf909a9bba6dbfc (patch)
tree980e9590f2a5ba1738b6c9249af1eba10985dfa2
parent66f1db9e239d68bcfd0406320bcb121320492320 (diff)
downloadpkgsubmit-e40232dae09f58e634ce064b8bf909a9bba6dbfc.tar
pkgsubmit-e40232dae09f58e634ce064b8bf909a9bba6dbfc.tar.gz
pkgsubmit-e40232dae09f58e634ce064b8bf909a9bba6dbfc.tar.bz2
pkgsubmit-e40232dae09f58e634ce064b8bf909a9bba6dbfc.tar.xz
pkgsubmit-e40232dae09f58e634ce064b8bf909a9bba6dbfc.zip
Fix whitespace at the end of readlink result
-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;
}