perl-CPAN/CPAN-2.14-Emergency-fix-for...

32 lines
898 B
Diff

From cbf4929aeba4b5c8fa4b6151655d5206b54e758e Mon Sep 17 00:00:00 2001
From: Andreas Koenig <andk@cpan.org>
Date: Fri, 8 Jul 2016 21:37:54 +0200
Subject: [PATCH] Emergency fix for bug
https://rt.cpan.org/Ticket/Display.html?id=115786
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Signed-off-by: Petr Písař <ppisar@redhat.com>
---
lib/App/Cpan.pm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lib/App/Cpan.pm b/lib/App/Cpan.pm
index d770bf5..268c49d 100644
--- a/lib/App/Cpan.pm
+++ b/lib/App/Cpan.pm
@@ -1336,7 +1336,8 @@ sub _show_out_of_date
foreach my $module ( @$modules )
{
- next unless $module->inst_file;
+ next unless $module = _expand_module($module);
+ next unless $module->inst_file;
next if $module->uptodate;
printf "%-40s %.4f %.4f\n",
$module->id,
--
2.7.4