File tree Expand file tree Collapse file tree 1 file changed +13
-5
lines changed Expand file tree Collapse file tree 1 file changed +13
-5
lines changed Original file line number Diff line number Diff line change 5
5
# Copyright (c) 2013 Mellanox Technologies, Inc.
6
6
# All rights reserved.
7
7
# Copyright (c) 2013-2020 Intel, Inc. All rights reserved.
8
- # Copyright (c) 2015-2020 Research Organization for Information Science
8
+ # Copyright (c) 2015-2021 Research Organization for Information Science
9
9
# and Technology (RIST). All rights reserved.
10
10
# Copyright (c) 2015-2021 IBM Corporation. All rights reserved.
11
11
# Copyright (c) 2020 Amazon.com, Inc. or its affiliates.
@@ -348,10 +348,18 @@ sub mca_process_framework {
348
348
verbose " --- Found $pname / $framework / $d component\n " ;
349
349
350
350
# Skip if specifically excluded
351
- if (exists ($exclude_list -> {$framework }) &&
352
- $exclude_list -> {$framework }[0] eq $d ) {
353
- verbose " => Excluded\n " ;
354
- next ;
351
+ if (exists ($exclude_list -> {$framework })) {
352
+ my $tst = 0;
353
+ foreach my $ck (@{$exclude_list -> {$framework }}) {
354
+ if ($ck eq $d ) {
355
+ verbose " => Excluded\n " ;
356
+ $tst = 1;
357
+ last ;
358
+ }
359
+ }
360
+ if ($tst ) {
361
+ next ;
362
+ }
355
363
}
356
364
357
365
# Skip if the framework is on the include list, but
You can’t perform that action at this time.
0 commit comments