From ab2d701649ef37f8ecc3477ab5be08df498f366f Mon Sep 17 00:00:00 2001 From: jnthn Date: Mon, 17 Mar 2014 18:11:13 +0100 Subject: Actually take/use the output extension. --- tools/build/module-install.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/build/module-install.pl b/tools/build/module-install.pl index ea22812..f6e06e0 100644 --- a/tools/build/module-install.pl +++ b/tools/build/module-install.pl @@ -9,6 +9,7 @@ use File::Basename; my $perl6bin = shift @ARGV; my $perl6lib = shift @ARGV; +my $compext = shift @ARGV; my $comptarget = shift @ARGV; my @pmfiles; @@ -77,7 +78,7 @@ do { chdir 'rakudo'; foreach my $pm (@pmfiles) { my $out = $pm; - $out =~ s/\.pm6?$/.$comptarget/; + $out =~ s/\.pm6?$/.$compext/; my @cmd = ($perl6bin, "--target=$comptarget", "--output=$out", $pm); print join(' ', @cmd), "\n"; system(@cmd); -- cgit v1.1