projects
/
dbsrgits/DBIx-Class-Schema-Loader.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
90ad8cb
)
Fix warning when dumping a schema with external class definitions.
Dagfinn Ilmari Mannsåker [Sun, 13 Apr 2008 00:40:49 +0000 (
00:40
+0000)]
lib/DBIx/Class/Schema/Loader/Base.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/DBIx/Class/Schema/Loader/Base.pm
b/lib/DBIx/Class/Schema/Loader/Base.pm
index
30e4c9b
..
867eae1
100644
(file)
--- a/
lib/DBIx/Class/Schema/Loader/Base.pm
+++ b/
lib/DBIx/Class/Schema/Loader/Base.pm
@@
-284,7
+284,7
@@
sub _load_external {
my $real_dump_path = $self->dump_directory
? Cwd::abs_path(
File::Spec->catfile($self->dump_directory, $class_path)
- )
+ ) || ''
: '';
my $real_inc_path = Cwd::abs_path($inc_path);
return if $real_inc_path eq $real_dump_path;