This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
dist/Unicode-Normalize/Makefile.PL: fix 'do'
authorDavid Mitchell <davem@iabyn.com>
Fri, 7 Apr 2017 11:05:34 +0000 (12:05 +0100)
committerDavid Mitchell <davem@iabyn.com>
Fri, 7 Apr 2017 13:42:24 +0000 (14:42 +0100)
It 'do's a file in the current directory, which fails without '.' in @INC.
This doesn't matter in core at the moment, but CPAN releases should be
fixed.

dist/Unicode-Normalize/Makefile.PL

index 44a4b8d..18bc2e2 100644 (file)
@@ -8,7 +8,7 @@ my $mm_ver = ExtUtils::MakeMaker->VERSION;
 if (-f "Normalize.xs") {
     print STDERR "Making header files for XS...\n";
 
-    do 'mkheader' or die $@ || "mkheader: $!";
+    do './mkheader' or die $@ || "mkheader: $!";
 
     $clean = { FILES => 'unfcan.h unfcmb.h unfcmp.h unfcpt.h unfexc.h' };
 }