Changeset 2593


Ignore:
Timestamp:
Mar 13, 2010, 10:46:03 PM (9 years ago)
Author:
bruno
Message:
  • Avoid perl warning by removing non-exitent dirs from @INC in mindi-get-perl-modules
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.9/mindi/mindi-get-perl-modules

    r2183 r2593  
    2121
    2222my $require = process_file(@_);
     23
     24my @includes;
     25
     26# Remove non exiting directories from @INC
     27# and thus avoid perl warnings
     28#
     29foreach my $d (@INC) {
     30    push @includes,$d if (-d $d);
     31}
    2332
    2433find(
     
    3948        }
    4049    },
    41     @INC);
     50    @includes);
    4251
    4352return(\%files);
Note: See TracChangeset for help on using the changeset viewer.