Skip to content

Commit

Permalink
Directories in newio always have a trailing /
Browse files Browse the repository at this point in the history
  • Loading branch information
lizmat committed Jan 3, 2015
1 parent f3f6641 commit 44cb1d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/CompUnitRepo.pm
Expand Up @@ -128,7 +128,7 @@ sub PARSE-INCLUDE-SPEC(Str $specs) {
}

sub CREATE-INCLUDE-SPEC(@INC) {
my $root = $*CWD ~ '/';
my $root = $*CWD.Str;
@INC.map( {
(nqp::istype($_,CompUnitRepo::Locally) ?? .short-id !! .^name)
~ ':' ~ REMOVE-ROOT($root,.IO.abspath);
Expand Down

0 comments on commit 44cb1d7

Please sign in to comment.