From: Peter Rabbitson <ribasushi@cpan.org>
Date: Mon, 7 Sep 2015 10:53:00 +0000 (+0200)
Subject: Work around EUMM 7.06 creating an empty blib/ dir, breaking prove -lr
X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=e9505615;p=dbsrgits%2FDBIx-Class.git

Work around EUMM 7.06 creating an empty blib/ dir, breaking prove -lr
---

diff --git a/xt/extra/internals/namespaces_cleaned.t b/xt/extra/internals/namespaces_cleaned.t
index 0023602..237a90b 100644
--- a/xt/extra/internals/namespaces_cleaned.t
+++ b/xt/extra/internals/namespaces_cleaned.t
@@ -193,7 +193,7 @@ sub find_modules {
       push @modules, join ('::', File::Spec->splitdir($_));
     },
     no_chdir => 1,
-  }, (-e 'blib' ? 'blib' : 'lib') );
+  }, qw( lib blib ) );  # find them in both lib and blib, @INC is preadjusted for us by the harness
 
   return sort @modules;
 }