diff options
Diffstat (limited to 'autobuild/results.php')
| -rw-r--r-- | autobuild/results.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/autobuild/results.php b/autobuild/results.php index c9bb05d..017be2d 100644 --- a/autobuild/results.php +++ b/autobuild/results.php @@ -438,7 +438,10 @@ foreach ($failure as $rpm => $error) { } } echo "<tr>"; - if (file_exists("$base_dir/$rpm/")) { + $rpm_base = substr_replace($rpm, '', -8); + if (file_exists("$base_dir/$rpm_base/")) { + echo "<td><a href='$base_dir/$rpm_base/'>$rpm</a></td>"; + } elseif (file_exists("$base_dir/$rpm/")) { echo "<td><a href='$base_dir/$rpm/'>$rpm</a></td>"; } else { echo "<td>$rpm</td>"; |
