greenstone.org greenstone wiki greenstone trac planet greenstone

Changeset 17204

Show
Ignore:
Timestamp:
2008-09-08 11:24:16 (3 months ago)
Author:
kjdon
Message:

in use_collection now always set GSDLCOLLECTION. previously was unless already defined. But it may be defined to another collection, so we want to overwrite it

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • gsdl/trunk/perllib/util.pm

    r16969 r17204  
    848848    # make sure the environment variables GSDLCOLLECTION and GSDLCOLLECTDIR 
    849849    # are defined 
    850     $ENV{'GSDLCOLLECTION'} = $collection unless defined $ENV{'GSDLCOLLECTION'}
     850    $ENV{'GSDLCOLLECTION'} = $collection
    851851    $ENV{'GSDLCOLLECTDIR'} = &filename_cat ($collectdir, $collection); 
    852852