From: Peter Rabbitson Date: Thu, 13 Dec 2012 09:54:20 +0000 (+0100) Subject: Do not mask Makefile.PL errors in END block X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=745b54f5cdb61c3eb8e2ec9a998d628a95e2fd46;p=dbsrgits%2FDBIx-Class-Historic.git Do not mask Makefile.PL errors in END block --- diff --git a/maint/Makefile.PL.inc/12_authordeps.pl b/maint/Makefile.PL.inc/12_authordeps.pl index c4944d0..3fd592c 100644 --- a/maint/Makefile.PL.inc/12_authordeps.pl +++ b/maint/Makefile.PL.inc/12_authordeps.pl @@ -66,6 +66,9 @@ EOW # this will run after the Makefile is written and the main Makefile.PL terminates # END { + # shit already hit the fan + return if $?; + # Re-write META.yml at the end to _exclude_ all forced build-requires (we do not # want to ship this) We are also not using M::I::AuthorRequires as this will be # an extra dep, and deps in Makefile.PL still suck