Changeset 24698 for gs2-extensions


Ignore:
Timestamp:
2011-09-30T14:30:42+13:00 (13 years ago)
Author:
jmt12
Message:

Store the filelist.txt (list of all documents to be imported) in the collection's tmp directory - so we can also play with IO and RAMDisks

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gs2-extensions/parallel-building/trunk/src/perllib/ParallelInexport.pm

    r24684 r24698  
    3535   my ($jobs, $epoch, $importdir, $block_hash, $collection, $site) = @_;
    3636
    37    my $tmp_filelist = &util::filename_cat($ENV{'GSDLHOME'}, "tmp", "filelist.txt");
     37   my $tmp_dir_path = &util::filename_cat($ENV{'GSDLCOLLECTDIR'}, 'tmp');
     38   if (!-d $tmp_dir_path)
     39   {
     40       mkdir($tmp_dir_path, 0777);
     41   }
     42
     43   my $tmp_filelist = &util::filename_cat($tmp_dir_path, "filelist.txt");
    3844
    3945   # create the list of files to import
Note: See TracChangeset for help on using the changeset viewer.