Skip to content

Commit

Permalink
Need to split $ENV{PERL5LIB} on path separator
Browse files Browse the repository at this point in the history
  • Loading branch information
zmughal committed Mar 4, 2021
1 parent 6134528 commit f9306c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/App/pmuninstall.pm
Expand Up @@ -347,7 +347,7 @@ sub build_active_perl5lib {
my $perl5libs = [
$self->install_base_arch_path($path),
$self->install_base_perl_path($path),
$interpolate && $ENV{PERL5LIB} ? $ENV{PERL5LIB} : (),
$interpolate && $ENV{PERL5LIB} ? split(/\Q$Config{path_sep}\E/, $ENV{PERL5LIB}) : (),
];
return $perl5libs;
}
Expand Down

0 comments on commit f9306c5

Please sign in to comment.