diff options
author | jnthn <jnthn@jnthn.net> | 2014-03-17 18:11:13 +0100 |
---|---|---|
committer | jnthn <jnthn@jnthn.net> | 2014-03-17 18:11:13 +0100 |
commit | ab2d701649ef37f8ecc3477ab5be08df498f366f (patch) | |
tree | 965f0aed5a47e98d925713f42f0796aa888d1e63 /tools/build/module-install.pl | |
parent | d0da84fdc49300b8fc261eb088e3455d649c6cbe (diff) |
Actually take/use the output extension.
Diffstat (limited to 'tools/build/module-install.pl')
-rw-r--r-- | tools/build/module-install.pl | 3 |
1 files changed, 2 insertions, 1 deletions
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); |