diff options
author | pmichaud <pmichaud@pobox.com> | 2010-07-29 04:32:42 -0500 |
---|---|---|
committer | pmichaud <pmichaud@pobox.com> | 2010-07-29 04:32:42 -0500 |
commit | 5aefd76890689da26c82930e0556874a8515979c (patch) | |
tree | efa7ed4fb11b0c987170bee18e8444e77f96aef1 /skel/build/module-install.pl | |
parent | 9099808b123cccbddb673bfdeea891de7197e287 (diff) |
Make sure module installation uses installed perl6 binary.
Diffstat (limited to 'skel/build/module-install.pl')
-rw-r--r-- | skel/build/module-install.pl | 4 |
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); } |