perl-modperl-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From go...@apache.org
Subject cvs commit: modperl/lib/Apache src.pm
Date Thu, 05 Jun 2003 07:05:13 GMT
gozer       2003/06/05 00:05:13

  Modified:    lib/Apache src.pm
  Log:
  No need to exclude blib when searching for Apache/include
  
  Revision  Changes    Path
  1.29      +5 -8      modperl/lib/Apache/src.pm
  
  Index: src.pm
  ===================================================================
  RCS file: /home/cvs/modperl/lib/Apache/src.pm,v
  retrieving revision 1.28
  retrieving revision 1.29
  diff -u -r1.28 -r1.29
  --- src.pm	9 Jul 2001 15:03:13 -0000	1.28
  +++ src.pm	5 Jun 2003 07:05:13 -0000	1.29
  @@ -93,14 +93,11 @@
       my($class, $dir) = @_;
   #    return 1 if $Is_Win32; #just assume, till Apache::src works under win32 
       my $instsrc;
  -    {
  -	local @INC = grep { !/blib/ } @INC;
  -	my $instdir;
  -        for (@INC) { 
  -            last if -d ($instdir = "$_/auto/Apache/include"); 
  -        } 
  -	$instsrc = $class->new(dir => $instdir);
  -    }
  +    my $instdir;
  +    for (@INC) { 
  +        last if -d ($instdir = "$_/auto/Apache/include"); 
  +    } 
  +    $instsrc = $class->new(dir => $instdir);
       my $targsrc = $class->new($dir ? (dir => $dir) : ()); 
    
       my $inst_mmn = $instsrc->module_magic_number; 
  
  
  

Mime
View raw message