From 5aefd76890689da26c82930e0556874a8515979c Mon Sep 17 00:00:00 2001 From: pmichaud Date: Thu, 29 Jul 2010 04:32:42 -0500 Subject: Make sure module installation uses installed perl6 binary. --- skel/build/module-install.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'skel') 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); } -- cgit v1.1