Skip to content

Commit 8bbe63d

Browse files
authored
Use rel2abs via object interface from File::Spec
1 parent e1fbc93 commit 8bbe63d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

inc/My/Builder/Darwin.pm

+2-1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ use Data::Dumper;
99
use Cwd;
1010
use Config;
1111
use File::Copy;
12+
use File::Spec;
1213
use base 'My::Builder';
1314

1415
sub special_build_settings {
@@ -112,7 +113,7 @@ sub _find_file {
112113
no warnings;
113114
find(
114115
{
115-
wanted => sub { push @files, rel2abs($_) if /$re/ },
116+
wanted => sub { push @files, File::Spec->rel2abs($_) if /$re/ },
116117
follow => 1,
117118
no_chdir => 1,
118119
follow_skip => 2

0 commit comments

Comments
 (0)