From: Karen Etheridge Date: Thu, 13 Jun 2013 21:40:27 +0000 (-0700) Subject: only sleep when installing interactively X-Git-Tag: v1.003000~55^2 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=27073f7c6af8ee1299243d8f1e6f98931474f755;p=gitmo%2FMoo.git only sleep when installing interactively --- diff --git a/Makefile.PL b/Makefile.PL index 9dc1b04..69807fe 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -109,6 +109,8 @@ sub check_conflicts { EOF } + return if $ENV{AUTOMATED_TESTING} || $ENV{NONINTERACTIVE_TESTING}; + # More or less copied from Module::Build return if $ENV{PERL_MM_USE_DEFAULT}; return unless -t STDIN && ( -t STDOUT || !( -f STDOUT || -c STDOUT ) );