Skip Menu |
 

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Devel-Cover CPAN distribution.

Report information
The Basics
Id: 70162
Status: resolved
Priority: 0/
Queue: Devel-Cover

People
Owner: Nobody in particular
Requestors: rurban [...] x-ray.at
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.79
Fixed in: (no value)



Subject: cover fails with spaces in pwd
Download (untitled) / with headers
text/plain 687b
Attached fix is necessary to work if the currently tested dist has a space in its working directory. It does not fix the CPAN installation if the .cpan path has a space in its path though. diff -u Devel-Cover-0.79/cover~ Devel-Cover-0.79/cover --- Devel-Cover-0.79/cover~ 2011-08-05 12:26:39.000000000 +0200 +++ Devel-Cover-0.79/cover 2011-08-09 13:48:21.049911000 +0200 @@ -251,7 +251,7 @@ File::Find::find({ wanted => $gp, no_chdir => 1 }, "."); if (@gc) { - my $c = "gcov2perl -db $dbname @gc"; + my $c = "gcov2perl -db \"$dbname\" @gc"; print STDERR "cover: running $c\n"; system $c; }
Thanks very much for this report and patch. The problem has been fixed with bae258c.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.