fix regex in makefile
Graham Knop [Wed, 25 Dec 2013 19:27:46 +0000 (14:27 -0500)]
Makefile.PL

index 18ee344..e993dca 100644 (file)
@@ -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