Ignore:
Timestamp:
2005-08-11T10:35:04+12:00 (19 years ago)
Author:
kjdon
Message:

arcPlug now knows about keepold, and if its not set, it wont try to do incremental building

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/perllib/plugin.pm

    r10218 r10478  
    4545sub load_plugins {
    4646    my ($plugin_list) = shift @_;
    47     ($verbosity, $outhandle, $failhandle, $globaloptions) = @_; # globals
     47    my $keepold;
     48    ($verbosity, $outhandle, $failhandle, $globaloptions, $keepold) = @_; # globals
    4849    my @plugin_objects = ();
    49 
     50    $keepold = 0 unless (defined $keepold && $keepold == 1);
     51    print STDERR "keepold = $keepold\n";
    5052    $verbosity = 2 unless defined $verbosity;
    5153    $outhandle = 'STDERR' unless defined $outhandle;
     
    8991    # initialize plugin
    9092    $plugobj->init($verbosity, $outhandle, $failhandle);
     93   
     94    $plugobj->set_keepold($keepold);
    9195
    9296    # add this object to the list
Note: See TracChangeset for help on using the changeset viewer.