More unset installman[13]dir tweaks from chromatic.
Jarkko Hietaniemi [Tue, 12 Feb 2002 04:50:58 +0000 (04:50 +0000)]
p4raw-id: //depot/perl@14655

lib/ExtUtils/Installed.pm

index bb744b0..c9a6bfc 100644 (file)
@@ -47,9 +47,11 @@ if ($type eq "prog")
    {
    return($self->_is_prefix($path, $Config{prefix})
           &&
-          !$self->_is_prefix($path, $Config{installman1dir})
+          !($Config{installman1dir} && 
+                       $self->_is_prefix($path, $Config{installman1dir}))
           &&
-          !$self->_is_prefix($path, $Config{installman3dir})
+          !($Config{installman3dir} && 
+                       $self->_is_prefix($path, $Config{installman3dir}))
           ? 1 : 0);
    }
 return(0);