summaryrefslogtreecommitdiff
path: root/cpan
diff options
context:
space:
mode:
authorEd J <mohawk2@users.noreply.github.com>2015-01-19 13:09:09 +0000
committerTony Cook <tony@develop-help.com>2016-01-25 11:11:47 +1100
commit194a8165f43449a530074c85b0b3cca077a58672 (patch)
treeff3da76ea94dfcf2841d4bd46042beae9ad0e910 /cpan
parent273df2b1892ae130ffc042e07ffa9c25a0a75605 (diff)
downloadperl-194a8165f43449a530074c85b0b3cca077a58672.tar.gz
Optimise is_make_type RE
Diffstat (limited to 'cpan')
-rw-r--r--cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Any.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Any.pm b/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Any.pm
index 154f784653..bd8ab3b71e 100644
--- a/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Any.pm
+++ b/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Any.pm
@@ -213,7 +213,7 @@ sub is_make_type {
return $maketype2true{$type} = 1
if $make_basename =~ /\b$type\b/i; # executable's filename
return $maketype2true{$type} = 0
- if $make_basename =~ /\b(dmake|nmake|gmake)\b/i; # Never fall through for dmake/nmake/gmake
+ if $make_basename =~ /\b[gdn]make\b/i; # Never fall through for dmake/nmake/gmake
# now have to run with "-v" and guess
my $redirect = $self->can_redirect_error ? '2>&1' : '';
my $make = $self->make || $self->{MAKE};