Changeset 725

Show
Ignore:
Timestamp:
11/07/06 20:26:07 (2 years ago)
Author:
gboggs
Message:

Make the loading of the (modern, but not yet core) ExtUtils::Install 1.37_02 module conditioned upon whether plugins are to be fetched, so the script doesn't bail out on people who do not request plugin fetching.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/wheeljack/build/Build.pm

    r712 r725  
    3737use Archive::Tar; 
    3838use Cwd; 
    39 use ExtUtils::Install 1.37_02; 
    4039use File::Basename; 
    4140use File::Copy; 
     
    629628    return unless $self->{'plugin=s@'}; 
    630629 
     630    my $prereq = 'ExtUtils::Install 1.37_02'; 
     631    eval "use $prereq"; 
     632    die( "ERROR: Can't handle plugin directory manipulation: $@" ) 
     633        if ref($@) or $@ ne ''; 
     634 
    631635    # Change to the export directory, if we are exporting. 
    632636    chdir( $self->{'export-dir=s'} ) or