Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
get REPO working for the moment (sure this won't fix some issues)
  • Loading branch information
cjfields committed Dec 8, 2015
1 parent fa7231a commit 52cebf7
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lib/Bio/Role/Pluggable.pm6
Expand Up @@ -21,9 +21,8 @@ role Bio::Role::Pluggable[Str $pd] # does Pluggable
my $plugin = $!plugin-dir;

# note this is searching all paths, not needed if a path is given
for (@*INC) -> $dir {
my ($type, $path) = $dir.split('#', 2);
my Str $start = "{$path.Str.IO.path}/$class/$!plugin-dir".IO.absolute;
for ($*REPO) -> $dir {
my Str $start = "{$dir.Str}/$class/$!plugin-dir";
if $start.IO.d {
for self!search($start, base => $start.chars + 1, baseclass => "{$class}::{$!plugin-dir}::") -> $t {
my $m = $t;
Expand Down

0 comments on commit 52cebf7

Please sign in to comment.