diff options
author | Pascal Terjan <pterjan@mageia.org> | 2013-01-14 00:52:36 +0000 |
---|---|---|
committer | Pascal Terjan <pterjan@mageia.org> | 2013-01-14 00:52:36 +0000 |
commit | e0cee1f1b892dacbc44fa96f9bddb6c92381086a (patch) | |
tree | ba39d17fd31742a5aa16f89789259d648abc7d7e | |
parent | 9f484d2c0afcd4a21090cea5751d9ecd04e3569a (diff) | |
download | pkgsubmit-e0cee1f1b892dacbc44fa96f9bddb6c92381086a.tar pkgsubmit-e0cee1f1b892dacbc44fa96f9bddb6c92381086a.tar.gz pkgsubmit-e0cee1f1b892dacbc44fa96f9bddb6c92381086a.tar.bz2 pkgsubmit-e0cee1f1b892dacbc44fa96f9bddb6c92381086a.tar.xz pkgsubmit-e0cee1f1b892dacbc44fa96f9bddb6c92381086a.zip |
Support absence of logs for success too
-rw-r--r-- | autobuild/results.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/autobuild/results.php b/autobuild/results.php index a169193..4a9e576 100644 --- a/autobuild/results.php +++ b/autobuild/results.php @@ -141,7 +141,11 @@ foreach ($failure as $rpm => $error) { echo "</ul></div><div style='float:right'><h1>Successful builds ($nb_success/$nb_tried):</h1><ul>"; foreach ($success as $rpm) { - echo "<li><a href='$base_dir/$rpm/'>$rpm</a></li>\n"; + if (file_exists("$base_dir/$rpm/")) { + echo "<li><a href='$base_dir/$rpm/'>$rpm</a></li>\n"; + } else { + echo "<li>$rpm</li>\n"; + } } ?> |