Ignore:
Timestamp:
2014-11-18T19:55:54+13:00 (9 years ago)
Author:
ak19
Message:

Minor changes to make a fresh installation of diffcol work faster: the diffcol-data dir must exist before hand. PERLPATH need not be set.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • other-projects/nightly-tasks/diffcol/trunk/task.pl

    r29398 r29448  
    9898$ENV{'GSDL_SMTP'} = ""; #"smtp.gmail.com";
    9999##print STDERR "@@@ email: ".$ENV{'MONITOR_EMAIL'}."\n";
     100
     101# When installing diffcol the first time, force the user to create the data-dir and upload-dir
     102die "\n@@@@ data dir: ".$ENV{'DATA_DIR'}." does not exist\n" unless (-d $ENV{'DATA_DIR'});
     103die "\n@@@@ reports/upload dir: ".$ENV{'UPLOAD_DIR'}." does not exist\n" unless (-d $ENV{'UPLOAD_DIR'});
    100104
    101105# control if an existing compiled greenstone is used
Note: See TracChangeset for help on using the changeset viewer.