Skip to contentSkip to conversation

support/script/scancpan: fix corelist check

PATCH New Francois Perrad 2 participants 2 messages Dec 3, 2014 – Dec 7, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 support/script/scancpan: fix corelist check

module could be removed of the core,
so check if the module is currently in the core, but not if the module was once time included in the core.

---
 support/scripts/scancpan | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
support/scripts/scancpan +2 -2
index 7ff647d..0eac132 100755
@@ -569,8 +569,8 @@ sub fetch {
             next if $modname eq q{perl};
             next if $modname =~ m|^Alien|;
             next if $modname =~ m|^Win32|;
-            next if !$test && $modname =~ m|^Test|; 
-            next if Module::CoreList::first_release( $modname );
+            next if !$test && $modname =~ m|^Test|;
+            next if Module::CoreList::is_core( $modname, undef, $] );
             # we could use the host Module::CoreList data, because host perl and
             # target perl have the same major version
             next if ${$dep}{phase} eq q{develop};
Signature · 1 line
2.1.0
#1 lore raw

PATCH 1/1 support/script/scancpan: fix corelist check

Dear Francois Perrad,

Quoted 8 lines · Francois Perrad

module could be removed of the core,
so check if the module is currently in the core, but not if the module was once time included in the core.

---
 support/scripts/scancpan | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Applied, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com