Skip to content

Commit

Permalink
Set absolute path to 06perms.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
oalders committed Dec 9, 2016
1 parent b81f509 commit c6b18ba
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/MetaCPAN/Script/Permission.pm
Expand Up @@ -24,7 +24,8 @@ sub run {
sub index_permissions {
my $self = shift;

my $file_path = $self->cpan . '/modules/06perms.txt';
my $file_path
= $self->cpan->subdir('modules')->file('06perms.txt')->absolute;
my $pp = PAUSE::Permissions->new( path => $file_path );

my $bulk_helper = $self->es->bulk_helper(
Expand Down

0 comments on commit c6b18ba

Please sign in to comment.