aboutsummaryrefslogtreecommitdiff
path: root/skel/build/module-install.pl
diff options
context:
space:
mode:
Diffstat (limited to 'skel/build/module-install.pl')
-rw-r--r--skel/build/module-install.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/skel/build/module-install.pl b/skel/build/module-install.pl
index cba32df..92c821b 100644
--- a/skel/build/module-install.pl
+++ b/skel/build/module-install.pl
@@ -21,7 +21,7 @@ while (@ARGV) {
return unless /\.pm6?/;
my $source = $File::Find::name;
my $target = $source;
- $target =~ s/$mlib/$perl6lib/;
+ $target =~ s/\Q$mlib\E/$perl6lib/;
print "$source => $target\n";
mkpath dirname($target);
copy($source, $target) or die "copy failed: $!\n";