summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <dev@blino.org>2015-11-03 01:42:24 +0100
committerOlivier Blin <dev@blino.org>2015-11-03 01:42:24 +0100
commit00b16038243dd784121bd9fc148a2218c72bb178 (patch)
tree89737896909788575bb01e9ad407bfcc629d5853
parent4f0998dce3810b573266f075bf78fd36d36486e1 (diff)
downloadpkgsubmit-00b16038243dd784121bd9fc148a2218c72bb178.tar
pkgsubmit-00b16038243dd784121bd9fc148a2218c72bb178.tar.gz
pkgsubmit-00b16038243dd784121bd9fc148a2218c72bb178.tar.bz2
pkgsubmit-00b16038243dd784121bd9fc148a2218c72bb178.tar.xz
pkgsubmit-00b16038243dd784121bd9fc148a2218c72bb178.zip
Make noarch failure fatal as well
-rw-r--r--lib.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib.php b/lib.php
index 7d89e41..05fe74f 100644
--- a/lib.php
+++ b/lib.php
@@ -133,7 +133,7 @@ function get_refined_packages_list($list_of_files, $package = null, $user = null
$pkgs[$key]['status']['fail'] = array();
}
$pkgs[$key]['status']['fail'][$arch] = 1;
- if (in_array($arch, $mandatory_arches)) {
+ if (in_array($arch, $mandatory_arches) || $arch == 'noarch') {
$status = 'failure';
}
}