Ignore:
Timestamp:
2005-08-10T15:25:28+12:00 (19 years ago)
Author:
mdewsnip
Message:

Removing the collection "tmp" directory is now only done when "-removeold" is specified to import.pl.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/perllib/plugins/ConvertToPlug.pm

    r10453 r10463  
    321321
    322322
    323 # Remove collection specific tmp directory and all its contents.
    324 sub cleanup_tmp_area {
    325     my $self = shift (@_);
    326 
    327     my $tmp_dirname
    328     = &util::filename_cat($ENV{'GSDLCOLLECTDIR'}, "tmp");
    329     &util::rm_r($tmp_dirname);
    330     &util::mk_dir($tmp_dirname);
    331 }
    332 
    333323# Override BasPlug read
    334324# We don't want to get language encoding stuff until after we've converted
     
    406396    # process the document
    407397    $processor->process($doc_obj);
    408     ##$self->cleanup_tmp_area();
    409398
    410399    $self->{'num_processed'} ++;
Note: See TracChangeset for help on using the changeset viewer.