New setup seems to be working, going to get STDIN closed so that modules expecting input fail earlier

This commit is contained in:
Your Name 2017-04-06 02:41:46 -04:00
parent dbbfbba02e
commit 3f4f21e55e
2 changed files with 1 additions and 2 deletions

Binary file not shown.

View file

@ -61,11 +61,10 @@ sub run_cpanm {
$h->start(); $h->start();
while($h->pumpable()) { # still getting output while($h->pumpable()) { # still getting output
$h->pump_nb(); $h->pump();
if (length($out) > 20*1024*1024) { # 20 meg limit on output if (length($out) > 20*1024*1024) { # 20 meg limit on output
die "Output too long. Failing build\n"; die "Output too long. Failing build\n";
} }
sleep(0.5);
} }
$h->finish(); $h->finish();