projects
/
tools
/
depanneur.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a7b253
)
handle exclusivearch correctly
author
Anas Nashif
<anas.nashif@intel.com>
Sun, 5 Aug 2012 17:46:58 +0000
(18:46 +0100)
committer
Anas Nashif
<anas.nashif@intel.com>
Sun, 5 Aug 2012 17:46:58 +0000
(18:46 +0100)
Change-Id: I0a6ecc51c6179f0cc6467550d0723a7d15ef7876
depanneur
patch
|
blob
|
history
diff --git
a/depanneur
b/depanneur
index 2f8f6ce7b444b8002469e9f4328cdf68682b548e..589802edc397ffd30ce41a43f36e733d7063f904 100755
(executable)
--- a/
depanneur
+++ b/
depanneur
@@
-395,7
+395,8
@@
sub parse_packs {
my %packs = ();
foreach my $spec (@packs) {
my $pack = Build::Rpm::parse($config, $spec);
- if ( ( $pack->{'exclarch'} ) && ( ! grep $_ eq $arch, $pack->{'exclarch'} ) ) {
+ if ( ( $pack->{'exclarch'} ) && ( ! grep $_ eq $archs[0], @{$pack->{'exclarch'}} ) ) {
+ debug("arch not compatible");
next;
}
my $name = $pack->{name};