Ignore:
Timestamp:
2008-09-08T11:24:16+12:00 (16 years 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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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
Note: See TracChangeset for help on using the changeset viewer.