Skip to content

Commit

Permalink
Sanier messages; Fix in included M::Build
Browse files Browse the repository at this point in the history
  • Loading branch information
Tadeusz Sośnierz committed Sep 13, 2010
1 parent 08f35d4 commit 1f33f8e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions bin/neutro
Expand Up @@ -115,9 +115,8 @@ sub installdeps (Str $name) {
unless isinstalled $dep {
my $realdep = getname $dep
or crap "No such module: $dep ($name dependency)";
notice "Found $realdep as a $name dependency, installing";
notice "$name depends on $realdep, installing now";
install $dep;
notice "$realdep installed, now back into $name";
}
}
$fh.close;
Expand Down
2 changes: 1 addition & 1 deletion tmplib/Module/Build.pm
Expand Up @@ -85,7 +85,7 @@ our sub build(Str $dir = '.', Str $binary = 'perl6', :$v) {
my $pir = $module.subst(/\.pm6?/, ".pir");
next if ($pir.IO ~~ :f &&
$pir.IO.stat.modifytime > $module.IO.stat.modifytime);
my $command = "$binary --target=PIR --output=$pir $module";
my $command = "PERL6LIB=$dir/lib $binary --target=PIR --output=$pir $module";
say $command if $v.defined;
run $command and die "Failed building $module"
}
Expand Down

0 comments on commit 1f33f8e

Please sign in to comment.