Re: [Module::Build] ANNOUNCE: 0.21 released
Status: Beta
Brought to you by:
kwilliams
|
From: Ken W. <ke...@ma...> - 2003-10-17 00:21:22
|
On Thursday, October 16, 2003, at 08:25 AM, Ken Williams wrote:
>
>
> It looks like File::Find isn't localizing the path to use backslashes
> on your system. Is this an older File::Find?
>
> Maybe I should explicitly the results of rscan_dir() using
> localize_file_path() inside _find_file_by_type().
I'm applying a patch to do so, here's what it looks like.
-Ken
--- lib/Module/Build/Base.pm 16 Oct 2003 01:26:23 -0000 1.213
+++ lib/Module/Build/Base.pm 17 Oct 2003 00:15:47 -0000 1.214
@@ -1216,7 +1216,9 @@
}
return {} unless -d $dir;
- return { map {$_, $_} @{ $self->rscan_dir($dir, qr{\.$type$}) } };
+ return { map {$_, $_}
+ map $self->localize_file_path($_),
+ @{ $self->rscan_dir($dir, qr{\.$type$}) } };
}
sub localize_file_path {
|