X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=maint%2FMakefile.PL.inc%2F12_authordeps.pl;h=152a390b2ca746bfcb2a4d6d3fad123360a50235;hb=777447e927d828478debc4e011aa2f28707bc008;hp=3a8a2b7e65155697888e61abf7bdf2382c6e8b8d;hpb=344f1f52e93998d0805fc6d1163817fa6d34c506;p=dbsrgits%2FDBIx-Class-Historic.git diff --git a/maint/Makefile.PL.inc/12_authordeps.pl b/maint/Makefile.PL.inc/12_authordeps.pl index 3a8a2b7..152a390 100644 --- a/maint/Makefile.PL.inc/12_authordeps.pl +++ b/maint/Makefile.PL.inc/12_authordeps.pl @@ -108,6 +108,12 @@ END { } my $meta = do { local @ARGV = 'META.yml'; local $/; <> }; + $meta =~ /^\Qname: DBIx-Class\E$/m or do { + warn "Seemingly malformed META.yml...?\n"; + unlink 'Makefile'; + exit 1; + }; + # this is safe as there is a fatal check earlier in the main Makefile.PL # to make sure there are no duplicates (i.e. $opt_testdeps does not contain # any real dependencies)