Work around EUMM 7.06 creating an empty blib/ dir, breaking prove -lr
[dbsrgits/DBIx-Class.git] / xt / extra / internals / namespaces_cleaned.t
index 0023602..237a90b 100644 (file)
@@ -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;
 }