Changeset 23313

Show
Ignore:
Timestamp:
10.11.2010 16:09:26 (9 years ago)
Author:
kjdon
Message:

call setup_greenstone_env so that we get the correct environment (eg MAGICK_HOME is needed to run greenstone's image magick) - this is not necessary from the command line as setup.bash has already been sourced, but from the collector/depositor it is.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/bin/script/build

    r23311 r23313  
    6464use dbutil; 
    6565 
     66# set up greenstone environment 
     67&util::setup_greenstone_env($ENV{'GSDLHOME'}, $ENV{'GSDLOS'}); 
     68# is the following needed with the previous line?? 
    6669# set up path - this allows for paths not to be supplied to system calls 
    6770# and overcomes problems when GSDLHOME contains spaces (double quoting