diff options
-rw-r--r-- | autobuild/history.php | 3 |
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"; |