Update of /cvsroot/module-build/Module-Build/lib/Module/Build
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14705/lib/Module/Build
Modified Files:
Base.pm
Log Message:
Fix an undef warning when module_name isn't specified
Index: Base.pm
===================================================================
RCS file: /cvsroot/module-build/Module-Build/lib/Module/Build/Base.pm,v
retrieving revision 1.539
retrieving revision 1.540
diff -u -d -r1.539 -r1.540
--- Base.pm 14 Dec 2005 23:30:25 -0000 1.539
+++ Base.pm 20 Jan 2006 01:17:13 -0000 1.540
@@ -2973,7 +2973,7 @@
# Since we're building ourself, we have to do some special stuff
# here: the ConfigData module is found in blib/lib.
local @INC = @INC;
- if ($self->module_name eq 'Module::Build') {
+ if (($self->module_name || '') eq 'Module::Build') {
$self->depends_on('config_data');
push @INC, File::Spec->catdir($self->blib, 'lib');
}
|