Commit 18033eff authored by Francois Perrad's avatar Francois Perrad Committed by Thomas Petazzoni
Browse files

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.

Signed-off-by: default avatarFrancois Perrad <francois.perrad@gadz.org>
Signed-off-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
parent 7b9d89fa
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -570,7 +570,7 @@ sub fetch {
            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 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};