Merge 'current' into 'deprecate_CDA'
Rafael Kitover [Wed, 30 Dec 2009 21:01:16 +0000 (21:01 +0000)]
r22312@hlagh (orig r8185):  caelum | 2009-12-30 12:30:58 -0500
bump File::Path dep, fixup redefined warning handler
r22313@hlagh (orig r8186):  caelum | 2009-12-30 15:58:06 -0500
fix tests

lib/DBIx/Class/Schema/Loader/Base.pm

index 00c8abd..f231928 100644 (file)
@@ -453,7 +453,7 @@ sub _find_file_in_inc {
         my $fullpath = File::Spec->catfile($prefix, $file);
         return $fullpath if -f $fullpath
             and Cwd::abs_path($fullpath) ne
-                Cwd::abs_path(File::Spec->catfile($self->dump_directory, $file)) || '';
+               (Cwd::abs_path(File::Spec->catfile($self->dump_directory, $file)) || '');
     }
 
     return;