Changeset 3291


Ignore:
Timestamp:
03/12/09 08:06:16 (3 years ago)
Author:
jquelin
Message:

using $PADRE_PLUGIN_DIR instead of default_plugin_dir()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Padre/lib/Padre/PluginBuilder.pm

    r3290 r3291  
    11package Padre::PluginBuilder; 
     2 
    23use strict; 
    34use warnings; 
    4 use Module::Build (); 
     5 
     6use Module::Build            (); 
     7use Padre::Config::Constants qw{ $PADRE_PLUGIN_DIR }; 
     8 
    59our @ISA = ('Module::Build'); 
    610 
     
    7276 
    7377    require Padre; 
    74     my $plugin_dir = Padre::Config->default_plugin_dir; 
    75  
    76     return $self->copy_if_modified(from => $plugin, to_dir => $plugin_dir); 
     78    return $self->copy_if_modified(from => $plugin, to_dir => $PADRE_PLUGIN_DIR); 
    7779} 
    7880 
Note: See TracChangeset for help on using the changeset viewer.