From: Graham Knop Date: Wed, 25 Dec 2013 19:27:46 +0000 (-0500) Subject: fix regex in makefile X-Git-Tag: v2.000_002~3 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=298c2bbefa6d65078313b53cfc1df09d73177b3b;p=p5sagit%2Flocal-lib.git fix regex in makefile --- diff --git a/Makefile.PL b/Makefile.PL index 18ee344..e993dca 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -259,7 +259,7 @@ else { my $value = $CPAN::Config->{$setting} or next; if ($setting =~ /^make/ ? $value =~ /(?:PREFIX|INSTALL_BASE)/ - : /(?:--prefix|--install_base)/ + : $value =~ /(?:--prefix|--install_base)/ ) { die <<"DEATH"; WHOA THERE! It looks like you've got $CPAN::Config->{$setting} set in