Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Tweaks
  • Loading branch information
lizmat committed May 16, 2014
1 parent 2c73b2a commit 5090deb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/CompUnitRepo/Local/Installation.pm
Expand Up @@ -122,7 +122,7 @@ sub MAIN(:$name, :$auth, :$ver, *@pos, *%named) {
}

# Initialize "provides" section.
for %($d.provides).kv -> $k, $v is rw {
for %($d.provides).v -> $v is rw {
$v = {};
}

Expand All @@ -146,7 +146,7 @@ sub MAIN(:$name, :$auth, :$ver, *@pos, *%named) {
for '', < -p -j -m > -> $be {
"$path/bin/$withoutext$be".IO.spurt:
$perl_wrapper.subst('#name#', $basename, :g).subst('#perl#', "perl6$be");
if $*OS eq 'MSWin32' {
if $*DISTRO.is-win {
"$path/bin/$withoutext$be.bat".IO.spurt:
$windows_wrapper.subst('#perl#', "perl6$be");
}
Expand Down

0 comments on commit 5090deb

Please sign in to comment.