cpan-testers / CPAN-Reporter

(Perl) Adds CPAN Testers reporting to CPAN.pm
http://search.cpan.org/dist/CPAN-Reporter/
20 stars 18 forks source link

Help debugging Solaris #106

Open nigelhorne opened 11 months ago

nigelhorne commented 11 months ago

Sometimes I see an error creating the wrapper - it dies at line 148. Could you please replace this:

# write code to a tempfile for execution
 my $wrapper_name = _temp_filename( 'CPAN-Reporter-CW-' );
 my $wrapper_fh = IO::File->new( $wrapper_name, 'w' )
        or die "Could not create a wrapper for $cmd\: $!";

with this?

# write code to a tempfile for execution
    my $wrapper_name = _temp_filename( 'CPAN-Reporter-CW-' );
    my $wrapper_fh = IO::File->new( $wrapper_name, 'w' )
        or die "Could not create a wrapper ($wrapper_name) for $cmd\: $!";