This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
fix typo that caused INSTALLPRIVLIB to have doubled 'perl5'
[perl5.git] / lib / ExtUtils / MM_Unix.pm
index 8d5646b..855a703 100644 (file)
@@ -1792,7 +1792,7 @@ usually solves this kind of problem.
        $self->prefixify($install_variable,$configure_prefix,$replace_prefix);
     }
     my $funkylibdir = $self->catdir($configure_prefix,"lib","perl5");
-    $funkylibdir = '' unless -d $funklibdir;
+    $funkylibdir = '' unless -d $funkylibdir;
     $search_prefix = $funkylibdir || $self->catdir($configure_prefix,"lib");
     if ($self->{LIB}) {
        $self->{INSTALLPRIVLIB} = $self->{INSTALLSITELIB} = $self->{LIB};
@@ -1817,7 +1817,7 @@ usually solves this kind of problem.
        }
     }
     my $funkymandir = $self->catdir($configure_prefix,"lib","perl5","man");
-    $funkymandir = '' unless -d $funkmandir;
+    $funkymandir = '' unless -d $funkymandir;
     $search_prefix = $funkymandir || $self->catdir($configure_prefix,"man");
     if (-d $self->catdir($self->{PREFIX},"lib","perl5", "man")) {
        $replace_prefix = $self->catdir(qq[\$\(PREFIX\)],"lib", "perl5", "man");