Reach back one higher up when searching for PERL_SRC.
Jarkko Hietaniemi [Thu, 23 Nov 2000 16:52:40 +0000 (16:52 +0000)]
p4raw-id: //depot/perl@7838

lib/ExtUtils/MM_Unix.pm

index 31aa122..1808e3e 100644 (file)
@@ -1658,7 +1658,7 @@ sub init_main {
 
     unless ($self->{PERL_SRC}){
        my($dir);
-       foreach $dir ($self->updir(),$self->catdir($self->updir(),$self->updir()),$self->catdir($self->updir(),$self->updir(),$self->updir())){
+       foreach $dir ($self->updir(),$self->catdir($self->updir(),$self->updir()),$self->catdir($self->updir(),$self->updir(),$self->updir()),$self->catdir($self->updir(),$self->updir(),$self->updir(),$self->updir())){
            if (
                -f $self->catfile($dir,"config.sh")
                &&