summaryrefslogtreecommitdiffstats
path: root/autobuild/results.php
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mageia.org>2013-01-14 00:59:25 +0000
committerPascal Terjan <pterjan@mageia.org>2013-01-14 00:59:25 +0000
commit11c75b72a307722076918bd1f45fbf1d9b1ab2c1 (patch)
treec9810f1a8ec2095cd82f380c210296849afae60a /autobuild/results.php
parente0cee1f1b892dacbc44fa96f9bddb6c92381086a (diff)
downloadpkgsubmit-11c75b72a307722076918bd1f45fbf1d9b1ab2c1.tar
pkgsubmit-11c75b72a307722076918bd1f45fbf1d9b1ab2c1.tar.gz
pkgsubmit-11c75b72a307722076918bd1f45fbf1d9b1ab2c1.tar.bz2
pkgsubmit-11c75b72a307722076918bd1f45fbf1d9b1ab2c1.tar.xz
pkgsubmit-11c75b72a307722076918bd1f45fbf1d9b1ab2c1.zip
Support failure being on a more recent version than the one on the mirrors, for fake autobuild
Diffstat (limited to 'autobuild/results.php')
-rw-r--r--autobuild/results.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/autobuild/results.php b/autobuild/results.php
index 4a9e576..8c8c3c6 100644
--- a/autobuild/results.php
+++ b/autobuild/results.php
@@ -79,7 +79,7 @@ while (!feof($status_file)) {
preg_match("/(.*)-([^-]*-[^-]*mga)[1-9].src.rpm/", $rpm, $matches);
if(!$packages[$matches[1]]) {
$removed[$rpm] = 1;
- } elseif ($packages[$matches[1]] != $matches[2]) {
+ } elseif ($packages[$matches[1]] > $matches[2]) {
$fixed[$rpm] = 1;
}
}