Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Unbreak panda on jvm also
  • Loading branch information
lizmat committed Oct 3, 2014
1 parent 414d911 commit a4309ee
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/core/IO/Path.pm
Expand Up @@ -316,7 +316,8 @@ my class IO::Path is Cool does IO::FileTestable {
}
#?endif
#?if jvm
$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 a4309ee

Please sign in to comment.