Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Unbreak panda
FROGGS++ for finding this one!!!
  • Loading branch information
lizmat committed Oct 3, 2014
1 parent f79cf92 commit 414d911
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/core/IO/Path.pm
Expand Up @@ -307,7 +307,8 @@ my class IO::Path is Cool does IO::FileTestable {
#?endif
#?if moar
$elem = $!SPEC.catfile($!abspath, $elem); # moar = relative
$elem = nqp::substr($elem, $cwd_chars + 1) if !$absolute;
$elem = nqp::substr($elem, $cwd_chars + 1)
if !$absolute and !$.is-absolute;
take $elem.IO(:$!SPEC,:$CWD) if $test.ACCEPTS($elem);
}
}
Expand Down

0 comments on commit 414d911

Please sign in to comment.