aboutsummaryrefslogtreecommitdiffstats
path: root/perl-external
diff options
context:
space:
mode:
Diffstat (limited to 'perl-external')
-rwxr-xr-xperl-external/bin/module-manage.pl10
1 files changed, 1 insertions, 9 deletions
diff --git a/perl-external/bin/module-manage.pl b/perl-external/bin/module-manage.pl
index e810dd95c..fb17841e5 100755
--- a/perl-external/bin/module-manage.pl
+++ b/perl-external/bin/module-manage.pl
@@ -55,17 +55,9 @@ sub add {
my $out = '';
my $cmd = "cpanm --reinstall --save-dists $minicpan $module";
- # print " running '$cmd'\n";
- run3( $cmd, undef, \$out, \$out )
+ run3( $cmd, undef, undef, undef )
|| die "Error running '$cmd'";
- if ( $out =~ m{FAIL} ) {
- die "\n\n\n"
- . "ERROR: Something did not build correctly"
- . " - please see ~/.cpanm/build_log for details"
- . "\n\n\n";
- }
-
write_file( $module_list, { append => 1 }, "$module\n" );
index_minicpan();