summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mageia.org>2013-01-14 00:52:36 +0000
committerPascal Terjan <pterjan@mageia.org>2013-01-14 00:52:36 +0000
commite0cee1f1b892dacbc44fa96f9bddb6c92381086a (patch)
treeba39d17fd31742a5aa16f89789259d648abc7d7e
parent9f484d2c0afcd4a21090cea5751d9ecd04e3569a (diff)
downloadpkgsubmit-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.php6
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";
+ }
}
?>