diff options
author | Pascal Terjan <pterjan@mageia.org> | 2022-04-16 19:11:30 +0000 |
---|---|---|
committer | Pascal Terjan <pterjan@mageia.org> | 2022-04-16 19:11:30 +0000 |
commit | e40232dae09f58e634ce064b8bf909a9bba6dbfc (patch) | |
tree | 980e9590f2a5ba1738b6c9249af1eba10985dfa2 /autobuild | |
parent | 66f1db9e239d68bcfd0406320bcb121320492320 (diff) | |
download | pkgsubmit-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
Diffstat (limited to 'autobuild')
-rw-r--r-- | autobuild/results.php | 2 |
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; } |