Move File::DosGlob from lib to ext
authorFather Chrysostomos <sprout@cpan.org>
Fri, 27 Apr 2012 21:05:39 +0000 (14:05 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Mon, 10 Dec 2012 02:47:18 +0000 (18:47 -0800)
MANIFEST
Porting/Maintainers.pl
ext/File-DosGlob/lib/File/DosGlob.pm [moved from lib/File/DosGlob.pm with 100% similarity]
ext/File-DosGlob/t/DosGlob.t [moved from lib/File/DosGlob.t with 96% similarity]

index 587f9cc..ac3aac4 100644 (file)
--- a/MANIFEST
+++ b/MANIFEST
@@ -3742,6 +3742,8 @@ ext/FileCache/t/04twoarg.t        See if FileCache works
 ext/FileCache/t/05override.t   See if FileCache works
 ext/FileCache/t/06export.t     See if FileCache exporting works
 ext/FileCache/t/07noimport.t   See if FileCache works without importing
+ext/File-DosGlob/lib/File/DosGlob.pm   Win32 DOS-globbing module
+ext/File-DosGlob/t/DosGlob.t           See if File::DosGlob works
 ext/File-Glob/bsd_glob.c       File::Glob extension run time code
 ext/File-Glob/bsd_glob.h       File::Glob extension header file
 ext/File-Glob/Changes          File::Glob extension changelog
@@ -4273,8 +4275,6 @@ lib/File/Compare.pm               Emulation of cmp command
 lib/File/Compare.t             See if File::Compare works
 lib/File/Copy.pm               Emulation of cp command
 lib/File/Copy.t                        See if File::Copy works
-lib/File/DosGlob.pm            Win32 DOS-globbing module
-lib/File/DosGlob.t             See if File::DosGlob works
 lib/File/Find.pm               Routines to do a find
 lib/File/Find/t/find.t         See if File::Find works
 lib/File/Find/t/taint.t                See if File::Find works with taint
index 9fffb42..0315215 100755 (executable)
@@ -805,7 +805,7 @@ use File::Glob qw(:case);
 
     'File::DosGlob' => {
         'MAINTAINER' => 'p5p',
-        'FILES'      => q[lib/File/DosGlob.{pm,t}],
+        'FILES'      => q[ext/File-DosGlob],
         'UPSTREAM'   => 'blead',
     },
 
similarity index 96%
rename from lib/File/DosGlob.t
rename to ext/File-DosGlob/t/DosGlob.t
index 9227cb9..8d950d7 100644 (file)
@@ -4,8 +4,10 @@
 # test glob() in File::DosGlob
 #
 
+use FindBin;
+use File::Spec::Functions;
 BEGIN {
-    chdir 't' if -d 't';
+    chdir catfile $FindBin::Bin, (updir)x3, 't';
     @INC = '../lib';
 }