Skip to content

Commit

Permalink
Phase one of path separator changes
Browse files Browse the repository at this point in the history
  • Loading branch information
lizmat committed May 4, 2015
1 parent e1f3318 commit 81893bb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/Panda.pm
Expand Up @@ -99,7 +99,7 @@ class Panda {

my $shell = %*ENV<SHELL>;
$shell ||= %*ENV<COMSPEC>
if $*DISTRO.name eq 'mswin32';
if $*DISTRO.is-win;

if $shell {

Expand Down
2 changes: 1 addition & 1 deletion lib/Panda/Common.pm
Expand Up @@ -21,7 +21,7 @@ sub withp6lib(&what) is export {
%*ENV<PERL6LIB>:delete;
}
}
my $sep = $*DISTRO.is-win ?? ';' !! ':';
my $sep = $*DISTRO.?cur-sep // $*DISTRO.path-sep;
%*ENV<PERL6LIB> = join $sep,
$*CWD ~ '/blib/lib',
$*CWD ~ '/lib',
Expand Down

0 comments on commit 81893bb

Please sign in to comment.