Permalink
Browse files

[Panda::Builder] Use $*EXECUTABLE_NAME instead of hardcoded "perl6", …

…pmichaud++
  • Loading branch information...
1 parent c731c4d commit 2ef186a4e0fa50853f1cf3d99a81adeaf0b7dc0f @tadzik committed Sep 30, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Panda/Builder.pm
View
@@ -47,7 +47,7 @@ class Panda::Builder does Pies::Builder {
$file.IO.copy: "blib/{$file.dir}/{$file.name}";
next if $file ~~ /\.pod$/;
say "Compiling $file";
- shell "perl6 --target=pir "
+ shell "$*EXECUTABLE_NAME --target=pir "
~ "--output=blib/{$file.dir}/"
~ "{$file.name.subst(/\.pm6?$/, '.pir')} $file"
and die $p, "Failed building $file";

0 comments on commit 2ef186a

Please sign in to comment.