Changeset 25553

Show
Ignore:
Timestamp:
09.05.2012 14:20:16 (7 years ago)
Author:
sjm84
Message:

If GSDL-RUN-SETUP is set then we want to set up the environment

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/bin/script/buildcol.pl

    r24755 r25553  
    4040    unshift (@INC, "$ENV{'GSDLHOME'}/perllib/classify"); 
    4141 
     42    if (defined $ENV{'GSDL-RUN-SETUP'}) { 
     43    require util; 
     44    &util::setup_greenstone_env($ENV{'GSDLHOME'}, $ENV{'GSDLOS'}); 
     45    } 
     46     
    4247    if (defined $ENV{'GSDLEXTS'}) { 
    4348    my @extensions = split(/:/,$ENV{'GSDLEXTS'});