summaryrefslogtreecommitdiffstats
path: root/autobuild/history.php
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mageia.org>2020-04-17 19:48:00 +0000
committerPascal Terjan <pterjan@mageia.org>2020-04-17 19:48:00 +0000
commit0ed09a437a42fff0bd0de0582011e6a2a3a4fd40 (patch)
tree84ad42e3736edab2d7ca88cbb13f7175bb816cb3 /autobuild/history.php
parent6287f4ade50c6e836673019428cc744dc9da45f3 (diff)
downloadpkgsubmit-0ed09a437a42fff0bd0de0582011e6a2a3a4fd40.tar
pkgsubmit-0ed09a437a42fff0bd0de0582011e6a2a3a4fd40.tar.gz
pkgsubmit-0ed09a437a42fff0bd0de0582011e6a2a3a4fd40.tar.bz2
pkgsubmit-0ed09a437a42fff0bd0de0582011e6a2a3a4fd40.tar.xz
pkgsubmit-0ed09a437a42fff0bd0de0582011e6a2a3a4fd40.zip
Fix history links since the change of architecture
Diffstat (limited to 'autobuild/history.php')
-rw-r--r--autobuild/history.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/autobuild/history.php b/autobuild/history.php
index a9ac27b..c74b0b9 100644
--- a/autobuild/history.php
+++ b/autobuild/history.php
@@ -14,8 +14,7 @@ while ($entry = $result->fetchArray(SQLITE3_ASSOC)) {
$run = $entry['run'];
$build_result = $entry['Name'];
echo "<a href='results.php?run=$run' >$run</a> ";
- $base_dir = "cauldron/x86_64/core/$run";
- if ($link = glob("$base_dir/$package-*.src.rpm/")) {
+ if ($link = glob("cauldron/*/core/$run/$package-*.src.rpm/")) {
echo "<a href='$link[0]'>$build_result</a><br/>\n";
} else {
echo "$build_result<br/>\n";