aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--skel/build/module-install.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/skel/build/module-install.pl b/skel/build/module-install.pl
index 92c821b..3889dfb 100644
--- a/skel/build/module-install.pl
+++ b/skel/build/module-install.pl
@@ -7,7 +7,7 @@ use File::Copy;
use File::Path;
use File::Basename;
-my $perl6 = shift @ARGV;
+my $perl6bin = shift @ARGV;
my $perl6lib = shift @ARGV;
my @pmfiles;
@@ -31,7 +31,7 @@ while (@ARGV) {
foreach my $pm (@pmfiles) {
my $out = $pm; $out =~ s/\.pm6?$/.pir/;
- my @cmd = ('./perl6', '--target=pir', "--output=$out", $pm);
+ my @cmd = ($perl6bin, '--target=pir', "--output=$out", $pm);
print join(' ', @cmd), "\n";
system(@cmd);
}