From: Peter Rabbitson Date: Thu, 3 Jun 2010 10:46:26 +0000 (+0000) Subject: Be gentler to checkout users X-Git-Tag: v0.08122~5 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=7f2c37b8665b550c2398fabdce5b4e18f082122b;p=dbsrgits%2FDBIx-Class.git Be gentler to checkout users --- diff --git a/Makefile.PL b/Makefile.PL index 9ec98e2..2b976ee 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -166,7 +166,15 @@ tests_recursive (qw| # temporary(?) until I get around to fix M::I wrt xt/ # needs Module::Install::AuthorTests -recursive_author_tests (qw/xt/); +eval { + recursive_author_tests (qw/xt/); + 1; +} || do { + my $err = $@; + eval { require Module::Install::AuthorTests } + || die "\nYou need Module::Install::AuthorTests installed to run this Makefile.PL:\n\n$@\n"; + die $@; +}; install_script (qw|